Lou S. wrote:
> I have a free table (request) that is open in the current datasession.    I 
> try to make it the currently selected work area with a SELECT REQUEST 
> statement... but the work area does not change!   There is no variable called 
> request, no error message... the work area just doesn't change and the 
> program continues.
>
> I have a breakpoint on the line following the select statement and can see 
> that it is not selected.  If I do a Set Next Statement back to the select 
> line above and step through it then the work area DOES change!     The table 
> is referenced through a unc path, but why would that make a difference?
>   
Is there a grid on the form?  If so, and it has focus when your code is 
running, the grid's recordsource gets selected automagically by VFP.  
You could try setting focus to something else prior to your code running 
and that should fix the problem.

-- 

Frank.

Frank Cazabon
Samaan Systems Ltd. - Developing Solutions
www.SamaanSystems.com/

Referrals are important to us. 
If you know of anyone who would benefit from our services, please contact me. 
We would appreciate the opportunity to work with them.


_______________________________________________
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