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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto insert associated value on form based on value entered by user.

Status
Not open for further replies.

RHorton1976

Technical User
Aug 20, 2008
8
GB
Hi there,

I have a form in place whereby the user enters data. I want to insert a field on the form which would be automatically generated and displayed based on a date parameter entered by the user beforehand. If the user enters 01/10/2008 in the 'start date' field then I want the associated value to be looked up in a seperate table and reflected on the form as soon as the 'start date' was entered. Is there any way of accomplishing this without using VBA as skills aren't that advanced?

Thanks a lot - your advice is greatly appreciated!



 

Perhaps something like this as the row source?
Code:
=DLookUp("fieldname","tablename","datefield = " & textboxname)


Randy
 
Thanks a lot Randy!

I ended up using a subform which works quite well =:0)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top