Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with CursorAdapters cursor schema
Message
De
01/10/2003 09:45:33
 
 
À
01/10/2003 08:08:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00833764
Message ID:
00833823
Vues:
25
Thank you Brian,
I will use toyr recomentation. Unfortunetely I learned the problem the hard way, because this behaviour is not documented.

Dimitris

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform