Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALTER TABLE won't drop DEFAULT with objref
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01242635
Message ID:
01242784
Vues:
18
>I thought I might be able to hack the DBC but it seems default values are in the same mystery memo with other field attributes and I'm not sure I could programmaticaly STRTRAN is out of there without breaking something.
>

Well, if you don't want to try to mess with hacking the DBC that way (wuss! ;) ), why don't you just STRTRAN() that memo to change "this." to "othis.", declare an "othis" object, add an .oapplication with a .osecurity, etc. and then run your program.

I suppose you could try declaring a "this" object, but I just assume that wouldn't work.

Or if every "this" reference is really a "this.oapplication.osecurity.cuseid", just Strtran() the whole thing to "Lcuserid" and declare that as a public variable before running your code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform