Inputting a vaule for a record when creating a new record

Johonn

New member
Local time
Today, 13:01
Joined
Feb 1, 2006
Messages
2
Well from reading the forums i have learned alot about access but now i am stuck and can't find what i am looking for.


I am building a database basically to track the Software bought for our company.

I have my Application table and my purschased table. The relationship between the two is ApplicationID.

What i need is to be able to do is look up the ApplicationID and then have that vaule be added to the new purschase record. My method of doing this was to created a form with 3 list boxes and 1 text box (not viewable). The list boxes are Company, Application, Version. The text box is the returned ApplicationID.

The list boxes dynamically adjust based on your selecetion to find the vaule of the 1 text box "ApplicationID".

Once you have selected the application you want to add as a purschase i have a button to open the Purschase form. I have everything that needs to be filled out in the form. My problem is getting the vaule of ApplicationID in the purschase form for the new record.


My problem;

Right now when the Purschase form opens it as all the data and the ApplicationID is shown as being correct but not selected. Right now the user would have to manualy select the vaule for the data to be commited to the record.

How do i selected a record so the data is submittied and a new record is started, on open, then set the focus onto a new field. This way the user does not have to do it manually.



I hope that makes sense to everyone.
 
Johonn,
First can i check that i understand what you mean.
1, on openning the form a new records is shown
2, the focus of a predefined text box is shown.

Is this all you need to do or am i missing something.

Alastair
 
alastair69,

1. On open the Purschase form a new record is created on the first edit of any field. It of course is not commited as a record at that time thought.

2. I would like to select the feild of ApplicationID on open and then set the focus to a different feild.
 

Users who are viewing this thread

Back
Top Bottom