473,396 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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
2 1872
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Newbie | last post by:
OK, this may be impossible since I'm using 3rd party shopping cart ASP software, but I've been able to finagle a lot of other stuff I thought wouldn't work, so here we go: I'm using a form in...
2
by: L Mehl | last post by:
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...
9
by: Susan Bricker | last post by:
Greetings. I am having trouble populating text data that represents data in my table. Here's the setup: There is a People Table (name, address, phone, ...) peopleID = autonumber key There...
2
by: dbuchanan | last post by:
Hello, Windows forms & database What are the considerations when choosing how to display reference information from the calling form? What is recommended? Table1 is the parent of Table2. ...
7
by: h7qvnk7q001 | last post by:
I'm trying to implement a simple server-side form validation (No Javascript). If the user submits a form with errors, I want to redisplay the same form with the errors highlighted. Once the form...
5
by: Rich | last post by:
Hello, I have a search application to search data in tables in a database (3 sql server tables). I populate 2 comboboxes with with data from each table. One combobox will contain unique...
4
by: greg | last post by:
Hi, I don't think my message posted correctly so here it is. Is there any way to access the individual values of a form text box? I want to iterate through all of the rows and access the...
1
by: Birky | last post by:
I am truly stuck and need some help on how to put this form together; any help or suggestions you can provide would be greatly appreciated. (Sorry this one is so long but I believe it is necessary to...
1
by: Arli | last post by:
I have the following linked tables: tblMainPL is my main table that I need to pull the information in from. It has the following fields: Autonumber1 -PK set as autonumber Date - short date...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.