Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select from a local view
Message
De
31/08/1999 17:46:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00259932
Message ID:
00259933
Vues:
20
Hi Roi ---

Mind you, this is just a theory, but is the view table buffered? If so, the appended records would have negative record numbers and that *might* be a part of the problem.


>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform