Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Issue with Default in DB Container
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01548966
Message ID:
01548982
Vues:
49
>>Hi,
>>
>>I set up a new logical field to have the value .T. as default (I set it up via Stonefield Toolkit). When I open the table in the Command window and they check the structure (by MODIFY STRUCTURE) command I see the value of .T. in the Default Value field. Yet when I add a record to this table (via my application) the value set to this field is .F.. Is this a bug in VFP or I am not using the Default Value correctly?
>>TIA.
>
>What is the code you use to add a new row?

The code is simply INSERT INTO ... I am inserting into a cursor based on Cursor Adapter. Now I am thinking of changing this code and make the field (in VFP) to have .F. as default (since nothing has to be done in this case).
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform