T
Tom Connors
Using Access2003. I have data sets with a 6 digit string embedded as such:
ACME INC 290452 447-DOE, JANE
WIDGETS CO & SONS 262378 897-SMITH, JOHN
etc etc
I want o extract everything up to the 6 digit portion (eg I want the "ACME
INC" portion). I thought I could use instr function with a pattern match of
###### to find the position of the 6 digits. I would then use the left
operator to trim up to that position.
Can I use pattern matching within instr ? This always returns 0:
test: InStr(1,[Vendor and Description],"######")
Any help would be appreciated.
Thanks
TC
ACME INC 290452 447-DOE, JANE
WIDGETS CO & SONS 262378 897-SMITH, JOHN
etc etc
I want o extract everything up to the 6 digit portion (eg I want the "ACME
INC" portion). I thought I could use instr function with a pattern match of
###### to find the position of the 6 digits. I would then use the left
operator to trim up to that position.
Can I use pattern matching within instr ? This always returns 0:
test: InStr(1,[Vendor and Description],"######")
Any help would be appreciated.
Thanks
TC