G
Guest
When generating a report, the report returns a field, 'Segment1' that I would
also like to use on the same report in a dynamic database query using that
value as part of the lookup statement. The query that will return the proper
value outside of the report is:
SELECT UPC.UpcCode
FROM UPC
WHERE (((UPC.Segment)=(Segment1)));
'Segment1' is current being displayed on the report in another field, and I
need to use that value within the sql statement to select a UPC code that
corresponds to this record.
Unfortunately, I'm not as familiar with the syntax needed to use this within
a field in Access2003, and all my attempts have just produced errors, or
prompt boxes.
Thank you for any help!
AH
also like to use on the same report in a dynamic database query using that
value as part of the lookup statement. The query that will return the proper
value outside of the report is:
SELECT UPC.UpcCode
FROM UPC
WHERE (((UPC.Segment)=(Segment1)));
'Segment1' is current being displayed on the report in another field, and I
need to use that value within the sql statement to select a UPC code that
corresponds to this record.
Unfortunately, I'm not as familiar with the syntax needed to use this within
a field in Access2003, and all my attempts have just produced errors, or
prompt boxes.
Thank you for any help!
AH