Information générale
Catégorie:
Codage, syntaxe et commandes
>Hi everybody,
>
>Sorry, if this problem was asked before. How can I rename the table (and the file) for the table, which is part of DBC. I have NextID table, now I want it to be StatID instead.
You are in luck...the new table has the same number of characters as the old.
I tihnk you can do this, but be sure to back up all files first so you can start over if need be...
Open the DBC as a table. Then go to the record that relates to your NextID table. Change the name of the table in the "objectname" property to "StatID". Then, in the "Property" memo field you will see a bunch of unprintable charcters as well as the table file name in there. Change the "NextID" to "StatID". Because the names have the same number of characters, I think the DBC will let you get away with this hack, at least it has worked for me before. If the table names had different lenghts, I think the DBC gets confused and the table record becomes invalid.
After that, if it does all work, you will need to go in and change the references to any triggers, etc. you had on the table, but you can do that with the standard table designer screens...
Hope this helps!
JoeK
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement