Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can it be done faster?
Message
De
11/10/2001 15:42:42
 
 
À
11/10/2001 15:10:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00567175
Message ID:
00567189
Vues:
17
>VFP 6
>
>I am in a table and I want to change the position of a column. I have to drag the columns and drop it at the new desired place.
>
>The thing is that there are many columns in that table ant that process takes some time to accomplish (too long for what needs to be done).
>
>Is there a way to do that faster?
>
>If not possible where can I post this as a suggestion for a SP or a future version of VFP? I looked in the menu for a document or some place where I could post that as a request and have'nt found anything.

If you're working with a free table, a SQL-SELECT with the fields ordered the way you want is quick.

If you're working with a table in a DBC, I don't think there's simple command to accomplish the change.

In that case, I think the following would work. If you're not using relational links to other tables, copy the table to a new DBC. DROP the table from the current DBC. COPY TO ... DATABASE Original.

If you are using relational links to other tables, you could do that and then recreate with ALTER TABLE commands.

Depending where you are, it might just be simpler to make the change visually if it's a one shot deal.

Jay
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform