Change field properties after creating the table (using SQL or VBA) 
Author Message
 Change field properties after creating the table (using SQL or VBA)

Thank you for your help
I have created table ((Passengers)) with field PassportNumber ((data type
(text), indexed=yes no duplicate)
I want to change the properties of this field PassportNumber TO (Yes
(Duplicates OK))
Note:
The table now contain passengers data (4000) record.
Or can I use VBA to do this.
Thank you


Mon, 06 Dec 2004 11:33:28 GMT  
 Change field properties after creating the table (using SQL or VBA)
Changing the value from No Duplicates to Duplicates OK should not cause a
problem(Hopefully you see that the opposite would not be true.)

Backup the table
Open the table in design view
Change the property
Save the table

--
Steve Clark, Access MVP
www.FMSInc.com


Quote:
> Thank you for your help
> I have created table ((Passengers)) with field PassportNumber ((data type
> (text), indexed=yes no duplicate)
> I want to change the properties of this field PassportNumber TO (Yes
> (Duplicates OK))
> Note:
> The table now contain passengers data (4000) record.
> Or can I use VBA to do this.
> Thank you



Tue, 07 Dec 2004 04:02:17 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Changing field property in TABLE using VBA

2. Modifying field properties in table using VBA

3. Table and Field Properties using VBA

4. Help: I can't read the description property for Table fields using VBA

5. Using Visual Basic to Change Field Properties in Access Table

6. Creating a field in an existing table using SQL

7. Create/change the ordinal position of a field within a table via VBA

8. Create Tables From DataSource Fields Using VBA

9. Access 2000 VBA/SQL - cannot create pseudo-index on linked SQL Server table

10. SQL Create table vs Creating TableDef Object in VBA


 
Powered by phpBB® Forum Software © phpBB Group