By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,475 Members | 1,929 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,475 IT Pros & Developers. It's quick & easy.

form - populate several fields before display, and on repetitive use

P: n/a
Hello --

A form adds records for an account and an entry date pre-selected by the
user.

I use the Load event to get those 2 fields to appear in the form when it is
first displayed.

Problem is: after saving the first record and displaying a blank form for
entry of the next record, the form is already Loaded, so that code code not
work, and the account and entry fields are blank. Putting the code in
Current, GotFocus, BeforeInsert does not work.

Can someone tell me which event should hold the code to populate those two
fields for each use of the form?

Thanks for any guidance.

Larry Mehl
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 4/13/2004
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
us on current but check if me.newrecord
"L Mehl" <me*********@cyvest.com> wrote in message
news:eo*****************@newsread2.news.pas.earthl ink.net...
Hello --

A form adds records for an account and an entry date pre-selected by the
user.

I use the Load event to get those 2 fields to appear in the form when it is first displayed.

Problem is: after saving the first record and displaying a blank form for
entry of the next record, the form is already Loaded, so that code code not work, and the account and entry fields are blank. Putting the code in
Current, GotFocus, BeforeInsert does not work.

Can someone tell me which event should hold the code to populate those two
fields for each use of the form?

Thanks for any guidance.

Larry Mehl
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 4/13/2004

Nov 12 '05 #2

P: n/a
Thank you.

L Mehl
"Malcolm Cook" <me*@stowers-institute.org> wrote in message
news:tJ****************@news.more.net...
us on current but check if me.newrecord
"L Mehl" <me*********@cyvest.com> wrote in message
news:eo*****************@newsread2.news.pas.earthl ink.net...
Hello --

A form adds records for an account and an entry date pre-selected by the
user.

I use the Load event to get those 2 fields to appear in the form when it

is
first displayed.

Problem is: after saving the first record and displaying a blank form for entry of the next record, the form is already Loaded, so that code code

not
work, and the account and entry fields are blank. Putting the code in
Current, GotFocus, BeforeInsert does not work.

Can someone tell me which event should hold the code to populate those two fields for each use of the form?

Thanks for any guidance.

Larry Mehl
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 4/13/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 4/14/2004
Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.