How to assign a value to a textbox

ashok

New member
Local time
Today, 18:19
Joined
Sep 11, 2008
Messages
6
Hi,
I would like to assign a value to a textbox(txtExpID). The value is coming from a query qrymaxvalue. I would like to see the max value in that textbox.
Could some help me out to fix this.

Thanks,
Ashok
 
I don't believe you can use a query result as the data source for a textbox. You can, however, use a function such as

Me.txtExpID = DMax("YourFieldName" , "YourTableName")
 
Thank You. Its working.Its really great help.
 

Users who are viewing this thread

Back
Top Bottom