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 / General 2 / March 2007

Tip: Looking for answers? Try searching our database.

Does Access have a function comparable to MS SQL's NEWID()?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Janet - 31 Mar 2007 21:10 GMT
1. Do any versions of Access have a NEWID() function like MS SQL?
2. Are there any comparable functions _besides_  rnd()?

Janet
storrboy - 31 Mar 2007 21:20 GMT
> 1. Do any versions of Access have a NEWID() function like MS SQL?
> 2. Are there any comparable functions _besides_  rnd()?
>
> Janet

I'm not sure what NEWID does.
Maybe there is an alternative depending on what it is you are trying
to do.
Sylvain Lafontaine - 01 Apr 2007 00:56 GMT
For tables?  Yes: create a autonumber field and change the Field Size from
Long Integer to Replica Id.

For VBA code, you must create your own:

http://www.trigeminal.com/code/guids.bas
http://www.trigeminal.com/lang/1033/codes.asp?ItemID=9#9
http://www.trigeminal.com/usenet/usenet011.asp?1033

Signature

Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)

> 1. Do any versions of Access have a NEWID() function like MS SQL?
> 2. Are there any comparable functions _besides_  rnd()?
>
> Janet
 
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.