Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add field to CA cursor on-the-fly?
Message
 
 
To
20/09/2011 11:25:07
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01524024
Message ID:
01524043
Views:
44
>>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.
>
>try
>
>CA.CursorDetach
>ALTER TABLE
>CA.CursorAttach
>
Thank you very much. This maybe exactly what I was looking for.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform