>>>>How can I...
>>>>"SELECT * FROM table INTO CURSOR anycursor"
>>>>and make changes to anycursor that are reflectd
>>>>back to my table. Can you SELECT INTO A CURSOR VIEW?
>>>
>>>As far as I know, you can only change the source table if yu use a view. Queries and cursors are snapshots of the data. This means that you would need to use "select SQL view"
>>
>>Thanks Mike...
>>How would I (code wise) change this code:
>>"select * from table into cursor mycursor" to a "select view"
>>so my users can edit the cursor?
>
>CREATE SQL VIEW myview as select * from table
>
>Then create a form using myview in the data environment.
>If you dreate the view in the view designer, you can set it to allow SQL updates so that the user can edit the source data. If you do it in code you need to use SETCURSORPROP I think.
>Mike
Thanks Mike...So, what you are saying is, if I have "myview" created in
the view designer and then, in my program, I say:
CREATE SQL VIEW myview AS SELECT * FROM TABLE,
the view MYVIEW gets updated on the fly?