Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select from a local view
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Select from a local view
Miscellaneous
Thread ID:
00259932
Message ID:
00259932
Views:
53
I just ran into something and I was wondering if someone could explain why this works the way it does.

I have a parameterized local view 'MyView'.

I use the view, then select from it:
use MyView

Select * ;
    From MyView ;
    into cursor Temp
No problem, the Temp cursor shows all the records in MyView (there's only 2 records)

Now I append 2 records to MyView, and perform the same select. The resulting cursor (Temp) doesn't have the appended records? I browse MyView and they're in MyView but the select can't see them.

I tried a
use dbf('MyView') again in 0 alias TempCurs
, select against that get the same results.

What am I missing? I would think the select would find all the records
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Next
Reply
Map
View

Click here to load this message in the networking platform