Vincent Teachout wrote on 2012-07-31: 
>  Tracy Pearson wrote:
>  
>  It is the old behavior of the cursor being recreated after it is set. It
destroys all the objects in the grid. It is better to create a blank cursor
on the form load event. The select into a cursor which you will append from.
>  Append from dbf("selectresults")
>  
>  I was afraid of that.  Kind of what I thought I'd end up having to do,
>  was just trying to avoid the extra work.  Thank you!
>  

Vincent,

You could probably get away with adding code similar to this in the Activate
event.

IF select("GrdCursor") > 0
        Select "GrdCursor"
        Append From "SelectResults"
Else 
        Select * from SelectResults into cursor GrdCursor ReadWrite
endif
USE IN SELECT("SelectResults")

Also a minor change to the Select into cursor above the new code, changing
the original result cursor name.

Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to