G
Guest
I have a database that has "membershipid" numbers like such:
0001-000 <--- Would be member number 1
0002-000 <--- Would be member number 2
I know that by using the InStr command below I have converted this for a
text field to show as a basic number in the query.
Membershipnum: Left([membershipid],InStr([membershipid],"-")-1)
The question is how can I further sort these numbers If I only wanted to
query membershipid #'s 1 through 5000 again keeping in mind that 5000-000 is
in essence the highest number that I will need to query and 0001-000 is the
lowest number that I will need to include in this query.
I have tried different bits of criteria like between >0 and <5000 as well as
Any ideas on how to get this idea to work within a query?
Thanks,
Chas
0001-000 <--- Would be member number 1
0002-000 <--- Would be member number 2
I know that by using the InStr command below I have converted this for a
text field to show as a basic number in the query.
Membershipnum: Left([membershipid],InStr([membershipid],"-")-1)
The question is how can I further sort these numbers If I only wanted to
query membershipid #'s 1 through 5000 again keeping in mind that 5000-000 is
in essence the highest number that I will need to query and 0001-000 is the
lowest number that I will need to include in this query.
I have tried different bits of criteria like between >0 and <5000 as well as
results."0" and also >"0-000" and <"5000-000" all seem to give inaccurate query
Any ideas on how to get this idea to work within a query?
Thanks,
Chas