I have a field that has a 1 to 4 digit number that is concatenated with a single letter (A-H)
For example 1A, 123B, 3331H, etc.
I need to do a lookup based on the number only – for example (based on above) 1, 123, 3331, etc.
In my query I have this:
From the code section above, I am talking about tblInvoice!PartID – this needs the letter removed from the last digit. (but only for this query!) I need to leave the letter there for future use.
I know there are functions like right, left, len, etc – but having a time figuring out their application here – and also – can I use them inside of the dlookup function above?
If so, can someone please provide me an example?
Thank you
PDUNCAN - MEMPHIS, TN
For example 1A, 123B, 3331H, etc.
I need to do a lookup based on the number only – for example (based on above) 1, 123, 3331, etc.
In my query I have this:
Code:
DLookUp(tblNationalPrice!Code,"tblNationalPrice",(tblInvoice!PartID=tblNationalPrice!NationalPriceID))
I know there are functions like right, left, len, etc – but having a time figuring out their application here – and also – can I use them inside of the dlookup function above?
If so, can someone please provide me an example?
Thank you
PDUNCAN - MEMPHIS, TN