Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stonefield Query GetValuesForField Example
Message
 
À
17/11/2006 12:44:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01169377
Message ID:
01170771
Vues:
7
Doug - thanks for the info. I suspected that the ADDs were taking place before the DROPs. That explains the error. Any chance of a 'DropBeforeAdd' switch? Is that feasible? Anyway, thanks for a great product. Highly recommended.

>Hi Chris.
>
>>this is off topic but was hoping you could describe in general terms how the tableupdate routine in SDT works. By that i mean in the event where new fields are being added to an existing table AND existing fields are being removed from the same table, is the processing order to ADD the new, then REMOVE the "old" fields? I ask because i encountered a "too many columns" error during an update where a couple of new fields were being added while a large number of fields were being removed. The NET result would have altered a table so that the field count was below the max allowed. Using SDT5.1.
>
>SDT uses a variety of mechanisms to update a table, depending on what changes were made, but the most common one creates an ALTER TABLE statement that's then macro expanded. DROP COLUMN commands are added to the statement after ADD COLUMN commands, although that may depend on the exact version of SDT you have (that's the way it is in the HowToSyncTables methods of 5.1k and later).
>
>Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform