Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Field Properties in CursorAdapter?
Message
From
09/09/2006 19:43:39
 
 
To
08/09/2006 01:11:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01152164
Message ID:
01152602
Views:
36
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform