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 / Modules / DAO / VBA / March 2005

Tip: Looking for answers? Try searching our database.

PO number using date/Time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
T.K. - 05 Mar 2005 21:53 GMT
I am tring to create a PO number such as R-010205153024
(month,day,year,time-militray time,second).. for each added entry into a text
box associated to a table, How do I do this?
Marshall Barton - 05 Mar 2005 22:22 GMT
>I am tring to create a PO number such as R-010205153024
>(month,day,year,time-militray time,second).. for each added entry into a text
>box associated to a table, How do I do this?

Make the Field in the table a Text type field.  Set the
DefaultValue property of the text box on the form to:

    "R-" & Format(Now(),"mmddyyhhnnss")

Signature

Marsh
MVP [MS Access]

 
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.