Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Fill Text Box From Table

Status
Not open for further replies.

gator9

Technical User
May 17, 2002
162
US
Ok I have a form named drafts that is linked to a table called drafts. We take payments over the phone, and most cases the checking account information is the same on every payment a client makes. What I want to do is auto fill the text box called BankName with the last entry from the last payment made and entered into that field.


Thanks

Charles
 
Hi,

You can use the Dlookup function to return the last record entered into the table. You can set the criteria to further limit the record that is being returned if you need to.

Also, you could use a combo box instead of the text box and have it use a default value. Anyway, there are many solutions to your issue.

Good Luck
 
DO you have any examples of the Dlookup that you are talking about.

Thanks

Charles
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top