I have set up a dlookup function, but it keeps returning an error message.
PF_size is the name of the txtbox I want it displayed in
Preform_size is the field I want returned from the table
Preform to bottle... is the table name
[bottle IMS] is the field name in the table
bottleims is the txtbox name
Can anyone help???
Thanks
Code:
Me.PF_size = DLookup("[preform_size]", "Preform to Bottle SF and Preform Usage", "[Bottle IMS] =" & Me.bottleIMS)
PF_size is the name of the txtbox I want it displayed in
Preform_size is the field I want returned from the table
Preform to bottle... is the table name
[bottle IMS] is the field name in the table
bottleims is the txtbox name
Can anyone help???
Thanks