Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need 2 distinct cursors using same view...HOW?
Message
From
28/12/1998 10:03:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00170395
Message ID:
00170760
Views:
38
>> Great. Then I requeried, and, of course, got the same
>> records as in the second one. Could it be you had the same
>> scenario going on?
>
>Well, it must be. I am glad to hear that I am wrong in what I am seeing. I could be having a variable parameter scope issue, though I reset my params before opening the view the second time, and it still gets the old data. I then do a requery right after using it, and get the right records, so I don't know why the USE pulls up the first records. I will have to mess around more and try command window stuff to get this to work. Could you possibly post the exact USE line you used for the second opening of the view so I can make sure I don't have some weird keyword in there?

lcParam1="value1"
lcParam2="value2"
use dbc!viewname
select 0
lcParam1="value3"
lcParam2="value4"
use dbc!viewname alias othername

That's what I've reconstructed from my head, since it was in the command window. Maybe it's the difference between "Use view alias" and ""Use view AGAIN alias" - in the other case it should give you the same data. We may need to dig deeper into this.

>I have hope now that it has just been my worn out eyes working on this...

Tell me about weary eyes... I've actually had to take a good look at least twice at each of the views (or a view at a look... whatever) before I was sure what's going on.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform