On 7/31/2012 11:33 AM, Tracy Pearson wrote: > Vincent Teachout wrote on 2012-07-31: >> Tracy Pearson wrote: >> >>> 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. >>> >> Similar to what I was planning, but I failed to remember to check for >> the existence of the cursor. Thanks, Tracy - consider this stolen! :-) >> >> > > Vincent, > > I noticed that I didn't include to ZAP the existing grid cursor.
Just make sure you use disconnected cursors and NOT UPDATABLE VIEWS. (Been there, done that, had some support calls!) -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: ProFox@leafe.com 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/5017fb62.9080...@mbsoftwaresolutions.com ** 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.