display the data in the form field

baroom

Registered User.
Local time
Yesterday, 16:52
Joined
May 29, 2009
Messages
19
please help me in displaying the data from table. like i have 2 feilds item no and item name.
when ever i enter item no in the form then the item name realted to that item no should e displayed.
please help me
 
i did exactly as u said

Private Sub Item_No_AfterUpdate()
Me.Item_Name = DLookup("[Item Name]", "YourTableName", "[Item No] = '" & Me.Item_No & "'")
End Sub
but at the time of running the form i am getting the runtime error
please help me
 
did you change the YourTableName to the name of your actual table name?
 
yes i chenge the table name to item_table even then it is giving me the run time error.
or is it due to that the table working behind the form is inventory_table and i want to display the data from the item_table.
please help me
 

Users who are viewing this thread

Back
Top Bottom