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

Aleksey,
Would you like to come down to Southern California sometime and present cursor adapters to LAFox and OCFox?
Actually, we would like to see whatever topic you find interesting.

Thanks,
Michael Cummings
President LAFox

e mail
LAFox AT MichaelRCummings.com
Previous
Reply
Map
View

Click here to load this message in the networking platform