Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Phantom Cursor Filename
Message
De
14/07/1997 16:16:46
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039708
Message ID:
00039886
Vues:
32
> There are work arounds, such as using a table and deleting it when the form > closes, but I'd like to know why there's a file name but no file. I'm > assuming the cursor is completely in memory, but don't know how to work > with it. We don't kill an ox for a kilo of meat :) No need to use tables. > Dragan Nedeljkovic mentioned something similar in the 'View, cursor or > something else?' thread a week ago. Anyone else have this problem? And > found a solution? > > TIA > Barbara Solution to what? The filename is there pro forma, in case you decide to select 0 use (dbf("cursor_alias")) again alias another and start writing to it. Then the filename will be used (I think). OTOH, the fake filename doesn't stop you from using the cursor in any known way. It works as if it existed :) If you really want it to have a real file, add a dummy field (or issue NOFILTER) when selecting: select *, "N" as dummy from ... I'll be inpolite to ask you what do you need the file for? Is there anything useful you can do with it (except Append From (dbf("cursor_alias")), but if cursor is so simple it's just a filter, you could append from the original table).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform