Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another CursorAdapter Question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00727793
Message ID:
00727830
Views:
10
>I'v finally started to figure out the CursorAdapter
>
>One thing I'm not sure on is this; What is the
>point of using a CursorSchema.
>
>If the SelectCmd is set to
>
>"select * from mytable"
>
>or
>
>"select field1, field2, field3 from mytable"
>
>
>you end up with the stucture you want.
>
>So what's the point of CursorSchema?

If you're talking to something like SQL Server, which only has DateTime fields, you can set-up the cursor schema to do things like automatically convert to a Date field. VFP can't always know what the "real" format of the data should be, so the schema let's you be very specific about it.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform