Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another ADO Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Another ADO Question
Miscellaneous
Thread ID:
00618990
Message ID:
00618990
Views:
56
When I run this code;


oCommand = CREATEOBJECT("ADODB.Command")

cCommandString = "insert into bspotln (docid, boid) values (" +;
TRANSFORM(nDocId) + "," + TRANSFORM(nNewId) +")"

WITH oCommand
  .CommandText = cCommandString
  .ActiveConnection = This.oConnection
  .CommandType = adCmdText
ENDWITH

oCommand.Execute


I get the error "Field 'xyz' does not accept null values". Is there a way
to override this or turn it off? I dont want to have to fill in ALL the
fields to add a record.

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform