Dynamic adding of primary key in Access 2.0 
Author Message
 Dynamic adding of primary key in Access 2.0

Quote:

>Hello everybody,
>The database I'm creating in Access 2.0 needs to import tables with no key
>from a server, edit them and send them back to the server. While editing
>I want to enable the user to sort the table using different fields. My
>specific question is:
>is it possible to mark one of the fields in the table as a primary key
>dynamiclly? and if it is possible, how to do it?

Check out http://www.*-*-*.com/ :2080/VisualBasicSource/

for the section Access

Working with Access without the data control

working with SQL command Like
adding a Field at runtime to an existing table
adding a Index at runtime to an existing table
making a database, table, fields and indexes at runtime
use a Date in SQL
checking if data-field is empty
4 ways to search for a record
exporting acces database to ascii file
making the WHERE from one textbox

gr. walther

----- never stop here -----
Walther Musch; http://www.*-*-*.com/ :2080/VisualBasicSource/

   Get PR-Tracker -- tracks problem reports, defects, bugs
   INFORMATION:   http://www.*-*-*.com/
   DOWNLOAD:     http://www.*-*-*.com/



Mon, 22 Nov 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Dynamic adding of primary key in Access 2.0

2. Joined Primary Key in Foxpro (Make 1 Primary Key from 2 fields)

3. add primary key in VB code

4. Import a text file WITHOUT adding primary key?

5. How to add a primary key?

6. retrieving primary key of newly added record in ADO.NET

7. Adding the same details with different primary key to a table

8. Adding the same details with different primary key to a table

9. getting primary key of the last record added

10. Adding the same details with different primary key to a table

11. Access '00 Primary Key Qstn

12. Determing Primary Key On Access Table

 

 
Powered by phpBB® Forum Software