If you think that you can do it in SQL then I will say that I don NOT think you can! You can create a new table with the new name and field definitions. Then you can copy the data from the originla table and then delete the original table.
Ya thats right but I'm 100 percent sure that I by VB-code can rename a table in access, I remember that I did it once, but I totally forgot how to do it...
telep>You can copy one table into a new table using this SQL
SELECT * INTO YourNewTable FROM YourOldTable;
Problem is that indexes etc. are NOT created and also if your table has relationships to others, this also can cause problems. So there are many things to concider before dong this.
Well I would very much like to give you the points for this question, but it seems like something isn't working out right. When I click the Accept button I get a message saying that the question already is accepted... but it's not...
Tak for det, jeg havde lige netop fået det til at køre med DAO 3.6 da jeg fik mailen vedr. jeres svar.
Endnu engang, tak for hjælpen.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.