Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoiding null field message
Message
 
 
To
04/03/2006 12:29:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01101500
Message ID:
01101519
Views:
12
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform