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 2005

Tip: Looking for answers? Try searching our database.

Make Table Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Corby - 13 Jan 2005 20:17 GMT
How do you set up a make table quert to have a blank row and auto number that
row then assign that row as a primary key?

Thanks,
Corby
Salt Lake City, UT
John Vinson - 13 Jan 2005 22:51 GMT
>How do you set up a make table quert to have a blank row and auto number that
>row then assign that row as a primary key?

You can't. MakeTable queries aren't that clever. Create the table
first and use an Append query if you *really* need to do this.
However, MakeTable queries are VERY rarely necessary in practice; why
do you feel that you need to routinely create new tables?

Note also that having a blank and having an Autonumber field are
contradictory requirements. Autonumbers can NEVER be null, so a field
containing an autonumber field will never contain a completely blank
row. Do you mean an additional *field* (for the autonumber) rather
than Row?

                 John W. Vinson[MVP]
 
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.