DATA ENTRY

F

Frank Murren

I have a table linked to a SAGE accounting system thru an ODBC link.
As part of the data entry process, I need to input a Sales Order
Number on a form which is of the format ... 0000012345.
Is there any way that I can only enter 12345 on the form, but when the
data is transferred onto the underlying query/table it then
automatically adds on the 5 leading zero's.
Thanks for any help which is offered
 
T

Tim Ferguson

(e-mail address removed) (Frank Murren) wrote in
Number on a form which is of the format ... 0000012345.
Is there any way that I can only enter 12345 on the form,

SELECT ...,
FORMAT(SONumber, "0000000000") AS FSONumber,
...


or the equivalent in the query grid:

FSONumber: FORMAT(SONumber, "0000000000")

Hope that helps


Tim F
 

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

Top