Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding null field message
Message
 
 
À
04/03/2006 12:29:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01101500
Message ID:
01101519
Vues:
13
This message has been marked as the solution to the initial question of the thread.
You have to provide values for all fields that don't accept nulls.

>Giving the following:
>
>
>loConnection=CREATEOBJECT('ADODB.Connection')
>loConnection.Open("Provider=VFPOLEDB.1;Data Source=d:\;Mode=ReadWrite;Password='';Collating Sequence=MACHINE")
>
>loRecordSet=CREATEOBJECT('ADODB.RecordSet')
>loRecordSet.Open('INSERT INTO EVENT (Title) VALUES ("TEST")',loConnection,1)
>
>
>How would someone avoid the message about a field which cannot be null?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform