Hi
I have a quotation form that allows the user to enter up to 20 products (20 corresponding fields numbered "FieldName" + 1 to 20) from the products table onto the quotation form/table.
In the form I use Dlookup to display the product name into a text box that is only for screen display purposes. All that's stored in the form's record is the ProductID numbers.
My problem is when I try to base a report on the form I have no way of displaying the product names. I could do with some kind of lookup feature in reports but there doesn't appear to be any way to get a field in a report to do something similar to Dlookup.
The only other way I can think of doing it would be to include 20 new fields in my Quotation table for corresponding product names, but this would lead to huge records, an extra 1000 bytes per record to store the extra info.
Can anyone help?
I have a quotation form that allows the user to enter up to 20 products (20 corresponding fields numbered "FieldName" + 1 to 20) from the products table onto the quotation form/table.
In the form I use Dlookup to display the product name into a text box that is only for screen display purposes. All that's stored in the form's record is the ProductID numbers.
My problem is when I try to base a report on the form I have no way of displaying the product names. I could do with some kind of lookup feature in reports but there doesn't appear to be any way to get a field in a report to do something similar to Dlookup.
The only other way I can think of doing it would be to include 20 new fields in my Quotation table for corresponding product names, but this would lead to huge records, an extra 1000 bytes per record to store the extra info.
Can anyone help?