Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assign Auto Id

Status
Not open for further replies.

pthakar

Programmer
Feb 28, 2003
38
US
Could any one pl. help me out for assigning an automatic Location Id . The system should be able to generate in the format of "OC001".

Pl... Help me.
Thanks
 
This is very simple to do. Go into your table in design view, and go to the properties sheet at the bottom for your autonumber field...type this into your format property -
"OC"000000 This forces a 6-digit number to concatenate to the string literal OC to be read as OC000001, OC000002, etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top