Cursor load order in Data Environment 
Author Message
 Cursor load order in Data Environment

How is the load order of cursors determined in the Data Environment of a
form?


Sun, 12 Jan 2003 03:00:00 GMT  
 Cursor load order in Data Environment
By the order they were added to the data environment.

Ex: If I add tables A and B they will be opened as A, B

I can reverse this by cutting (Ctrl-X) A and pasting (Ctrl-V) it anywhere on
the data environment



Sun, 12 Jan 2003 03:00:00 GMT  
 Cursor load order in Data Environment
I'm pretty sure it's the order the cursors are listed in the scx file (which
would be the order you added them to the DE).

HIH

Alan Porter.

Quote:

> How is the load order of cursors determined in the Data Environment of a
> form?



Sun, 12 Jan 2003 03:00:00 GMT  
 Cursor load order in Data Environment

Hi David,

Jacobus and Alan are correct: the cursors in the DE of a form open in the
order they were added to it. You cannot cut and paste in the DE of a form
however, you would need to REMOVE and ADD the cursor if you wanted to
change the load order.

You may also find the InitialSelectedAlias property of the DE useful. If
you are asking this question in order to determine which table might be the
currently selected alias after a form runs, you can use this property to
control that.

I hope this helps. My thanks for supporting Fox!
Trevor Hancock, MCSD
Microsoft Developer Support - FoxPro



Mon, 13 Jan 2003 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Data environment Table loading problem

2. Slow-loading Data Environment over network

3. Data environment loads too slow

4. VFP, Reports, Data Environment and Cursors - Help!

5. Finding cursors in the Data Environment

6. Finding cursors in the Data Environment

7. VFP5 - Data Environment - cursor source

8. Forms with Private Datasessions and Cursor (data environment) objects

9. Loads of Data, Form Load Speed Q.

10. Data Environment and Cursor.Order ! help?

11. VFP 5.0 Form,Data Environment, Data Session

12. Data Environment and Data Source

 

 
Powered by phpBB® Forum Software