Hi all, hope someone can help with this.
I'd like to create a new field on the Purchase Return Order subform (6641) to do a lookup on a new table I have created (called Return Action Codes), and to return the value from the lookup onto the subform. Is this possible? If so, could someone please tell me how to do it? Many thanks!
0
Comments
Add a new filed into underlying table from the subform. (Code)
and on the field properties set the Table relation to your new table !
Regards,
Marcel
Then you add a new field to the Purchase Line table that links to your new table, and set the right table relation on the new field.
Then, all you need to do is add the new field to the subform and voila.
hth,
Daniel
RIS Plus, LLC
I've created a new form based on my new table, but how do I set the LookupFormID property on the table? I probably should have mentioned I'm relatively new to this sort of thing!
Thanks.
Open your table in the design tool, so you can see the fields in it.
Move down beyond the last field in the table to the first blank line.
Then go on the menu bar View -> Properties. In the list that appears is the properties of the table (As opposed to doing this on one of the fields, which gives you the field properties).
Amongst the list, you will see a property called LookupFormID.
Drill down in the field and pick the form you want.
Hope this is of help!
Lead Consultant
Theta
Thank you, it worked perfectly
Thanks to everyone else for their help also!