willbost
New Member
- Joined
- Jun 16, 2006
- Messages
- 21
I have a field "Client-Dept" that contains the following type of data:
00-825
00-4255
00-588
I want to create a query that takes this field and spits into a Client field and Dept field.
For client, I am using the "Left([Client-Dept],2)" But since the Dept field varies on length, I cannot use the "Right" function. Somehow I need to split and get the data after the "-".
Thanks!
00-825
00-4255
00-588
I want to create a query that takes this field and spits into a Client field and Dept field.
For client, I am using the "Left([Client-Dept],2)" But since the Dept field varies on length, I cannot use the "Right" function. Somehow I need to split and get the data after the "-".
Thanks!