Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor adapter cannot allow table information in schema
Message
From
15/04/2003 17:28:42
 
 
To
15/04/2003 04:37:47
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00777594
Message ID:
00778091
Views:
16
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform