Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor adapter cannot allow table information in schema
Message
De
15/04/2003 17:28:42
 
 
À
15/04/2003 04:37:47
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00777594
Message ID:
00778091
Vues:
15
>sorry i put this mess. in vfp7 area. it about vfp8:
>
>cursor adapter cannot allow table information in schema more than 255 chars. if my table requires more than 255 chars what will i do?
>i was waiting unpatient cursoradapter and this is hit the 255 chars barrier. :(

Hi Metin.
You may have the same problem with the 2 field list properties, too. UpdatableFieldList and UpdateNameList. I populate these programmatically but not with literal fields. Having to put in literal field names restricts the flexablility of the CA. If you make a method to hit the backend and create an empty cursor by using the command: = This.CursorFill(.f.,.t.) &&** empty table.

After this create an array of the fields and populate the properties. Do this is na base class so that no matter what table you are dealing with and what the structs you alwasy have the fields populated. The only drawback is that you are using the full structure of the table, which is not good for large dataextractions. It is great for updates, Deletes & inserts though. I have a doc with this in it. You can copy & past from it if you wish.

Regards,
- Glen -

The impossible we do immediately.
The miraculous will take a little longer.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform