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 / December 2004

Tip: Looking for answers? Try searching our database.

Primary Key-Read/Write - Still Can't Figure It Out

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve S - 23 Dec 2004 20:58 GMT
Hi:
I have an Access 2003 adp where I'm importing comma delimited text into a
temporary table.This table has no primary key in that all fields have
duplicate data, therefore I only have read access to the data and the
recordset is uneditable.  That's o.k. in the temporary table, but once I
export it to a permanent table I need to define a primary key so I can edit,
add and delete data.  This is where I'm stumped.  When I export data to the
permanent table (which has a 'uniqueidentifier' field that represents the
primary key, I get a returned error message that says "unable to process
request because primary key can't contain Null values).  The temporary table
dosn't have a uniqueidentifier field but the master does.  How can I get to
master table to autimatically update uniqueidentifiers in that primary key
field upon export?
Thanks in advance,
Steve
John Vinson - 24 Dec 2004 00:23 GMT
>How can I get to
>master table to autimatically update uniqueidentifiers in that primary key
>field upon export?

Make it an Autonumber field; or write code to increment a value.

                 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.