somedeadguy
The Imaginable Sean Moss
- Local time
- Today, 07:11
- Joined
- May 6, 2008
- Messages
- 14
This is an address field that I am parsing out to get the street number separate from the street in a query.
Here is my expression:
This results in an #Error, however if I just take the instr() out it works fine, like:
This results in no errors.....
I'm confused.
Here is my expression:
Code:
DoNum: Switch(IsNull([dbo_Daily_Students]![DOSTRT]),'No Address',Len([dbo_Daily_Students]![DOSTRT])>=1,Left([dbo_Daily_Students]![DOSTRT],InStr([dbo_Daily_Students]![DOSTRT],' ')))
This results in an #Error, however if I just take the instr() out it works fine, like:
Code:
DoNum: Switch(IsNull([dbo_Daily_Students]![DOSTRT]),'No Address',Len([dbo_Daily_Students]![DOSTRT])>=1,Left([dbo_Daily_Students]![DOSTRT],5)))
This results in no errors.....
I'm confused.