Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with CursorAdapters cursor schema
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00833764
Message ID:
00833877
Views:
25
Hi Brian,

Did I goof up the DeleteCmd in my builder for over 254 characters?

>Hi Dimitris,
>
>If you look at Mark McCasland's caBuilder results, you'll see that he textmerges into a variable first, strips the CRLFs, then assigns it to the CursorSchema property.
>
>Try the following:
>
>
>#DEFINE VFP_CRLF CHR(13) + CHR(10)
>
>LOCAL lcSchema
>lcSchema = ""
>
>TEXT TO lcSchema NOSHOW PRETEXT 2
>   EMZ55AADR1 C(40),
>   EMZ55AADR2 C(40)
>ENDTEXT
>
>lcSchema = STRTRAN(lcSchema, VFP_CRLF, [ ])
>
>This.CursorSchema = lcSchema
>
>
>
>Unfortunately the DeleteCmd property doesn't get built this way, so tables with long names, long field names and multi-field keys easily exceed the 254 char limit.
>
>
>- Brian
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform