Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursorfill or requery()?
Message
From
07/11/2003 16:52:28
 
 
To
06/11/2003 23:41:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00842623
Message ID:
00847827
Views:
34
Hi Carlos.

>I was checking out the cursor adapter builder project. In the save method of selectproperties class I found this:
>
>* Ensure CursorSchema is < 256 characters.
>
>local llReturn
>llReturn = len(Thisform.oCursor.CursorSchema) < 256
>if not llReturn
> messagebox(ccMSG_CURSORSCHEMA_TOO_LONG, MB_OK + MB_ICONSTOP, ;
> Thisform.Caption)
>endif not llReturn
>return llReturn
>
>Do you know what is the reason of that? I was checking out the methods to adquiere the cursoradapter schema and I din´t find a logical reason to do that.

That's because the Properties window can't accept values more than 255 characters, and generating the CursorSchema in code would prevent you from dragging and dropping fields from the CursorAdapter to a form. Fortunately, this limitation will be lifted in Europa.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform