Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add field to CA cursor on-the-fly?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01524024
Message ID:
01524025
Views:
49
>Hi,
>
>Is it possible to add a column/field to a cursor created with Cursor Adapter? I tried ALTER TABLE and it does not work. And as far as adding a column I don't need the base table to be updated when entry in this column is set or changed. Basically this "extra" column won't have a corresponding field in the base table and I need it only to hold data for the UI tier. Before I try a different approach I thought I would ask to see if it can be done with cursor adapter. TIA.

I believe you should be able to include computed column in the query and in the fields mapping simply omit this field.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform