Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / January 2004

Tip: Looking for answers? Try searching our database.

DATA ENTRY

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank Murren - 05 Jan 2004 16:52 GMT
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
Tim Ferguson - 05 Jan 2004 18:23 GMT
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.