Letter in order Numbers

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

I store Order number as 0001, 0002 ect but when i print them out on
reports i put WSOR infront eg WSOR0001

If have a customer that phones up and i have to earch for the order i
have to just type in 00001 in the field to search. Some times i type in
WSOR0001 is there a way if i type it all in to set it up to ignore the
WSOR part and just take the number


Thanks
 
Simon said:
I store Order number as 0001, 0002 ect but when i print them out on
reports i put WSOR infront eg WSOR0001

If have a customer that phones up and i have to earch for the order i
have to just type in 00001 in the field to search. Some times i type
in WSOR0001 is there a way if i type it all in to set it up to ignore
the WSOR part and just take the number


Thanks

If it is always four characters (the last four) you can use the Trim
function.
 
Simon said:
how do i do trip funtions

I think I may have mislead you. In any case this is from the help file:

Right([ShipPostalCode], 5)
Truncates the leftmost characters, leaving the five rightmost characters

You would want to use your field name to replace the "ShipPostalCode"
and "4" rather than 5. The result of that expression, which you can use in a
report, query or form, would be the 0001 or 0002 etc. that you are
interested in.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top