Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accused of violations I'm not committing
Message
De
07/02/2005 10:40:31
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
07/02/2005 09:54:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00983795
Message ID:
00984454
Vues:
30
>>>Thanks. That did the trick. Please could I trouble you as to any thoughts on the second part of my proble: re: NewID() disabling while I'm doing the import?
>>
>>Can you use DBSETPROP() function to disable default before import and enable it thereafter?
>
>Thanks, Sergey - that seems like a good idea. It made me think as well - I can probably use Alter Table ... drop/set default too. I'm just wondering which might be better.
>On the other hand, I originally thought that I was getting this violation error because I had the default value, which turned out to be not the case, so now I'm wondering if my Insert Into statement wouldn't just override the NewID() function anyway, given that I'm stipulating the value of Zone #.

The dbsetprop("alias.field","field","DefaultValue","any value") will not work because DefaultValue is read-only for DbSetProp() function when applied to tables. It's read/write for views, however - which may help you, who knows.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform