webfaktor
Technical User
- May 22, 2001
- 22
Hi - I have a unique record identifier within the records I report known as "MaterialNumber"
MaterialNumbers can be of two distinct types, for example:
M0001.01 (8 digits in length total)
M0001.01.01 (11 digits in length total)
The question I would like to ask of the query from which the report is based and have it perhaps performed when the report opens is: "If the MaterialNumber is 8 digits in length, then look and see if any 11 digits in length MaterialNumbers exist that are identical to the 8 digit material number with their first 8 digits, and then to report these 11 digit Material Numbers as well as the 8 digit Material Number from which they are derived"
Any help you would care to share is very much appreciated!
Regards,
WF
MaterialNumbers can be of two distinct types, for example:
M0001.01 (8 digits in length total)
M0001.01.01 (11 digits in length total)
The question I would like to ask of the query from which the report is based and have it perhaps performed when the report opens is: "If the MaterialNumber is 8 digits in length, then look and see if any 11 digits in length MaterialNumbers exist that are identical to the 8 digit material number with their first 8 digits, and then to report these 11 digit Material Numbers as well as the 8 digit Material Number from which they are derived"
Any help you would care to share is very much appreciated!
Regards,
WF