General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>I just started playing with CursorAdapters.
>>Looks great so far, except I cannot figure out how to set defaults and rules at the field level.
>>
>>Any clues will be most appreciated.
>>
>>Thanks!
>
>Hi Michael,
>
>In Visual FoxPro 9.0, DEFAULT values and table and field level CHECK constraints are supported for XML, Native, ADO and ODBC data sources. In Visual FoxPro 8.0, DEFAULT values and table and field level CHECK constraints are only supported for an XML data source. For the DEFAULT values and CHECK constraints to be applied to a cursor, include them into CursorSchema property and call the CursorFill method with the lUseSchema parameter set to True (.T.).
>
>Thanks,
>Aleksey.
Many Thanks!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only