Once again I have a question... I have the following code in my query -
NO: IIf(Left([MATERIAL NUMBER],1)="F" Or Left([MATERIAL NUMBER],1)="Z" Or Left([MATERIAL NUMBER],1)="S" Or Left([MATERIAL NUMBER],1)="E",Right([MATERIAL NUMBER],Len([MATERIAL NUMBER])-1),[MATERIAL NUMBER])
I am using the Design feature of the Make query. If I wanted to further define the data to only return if the number falls in a certain range, how could that be done?
So if the above is true, but only should be returned if the number falls between .......
3000000 - 99999999
Anyone have an idea on how I can add this logic to my existing line of code above?
Wally
NO: IIf(Left([MATERIAL NUMBER],1)="F" Or Left([MATERIAL NUMBER],1)="Z" Or Left([MATERIAL NUMBER],1)="S" Or Left([MATERIAL NUMBER],1)="E",Right([MATERIAL NUMBER],Len([MATERIAL NUMBER])-1),[MATERIAL NUMBER])
I am using the Design feature of the Make query. If I wanted to further define the data to only return if the number falls in a certain range, how could that be done?
So if the above is true, but only should be returned if the number falls between .......
3000000 - 99999999
Anyone have an idea on how I can add this logic to my existing line of code above?
Wally