Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBF() not found
Message
De
26/05/1999 03:05:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00220314
Message ID:
00222808
Vues:
30
>Hi Cetin,
>
>>>weirdness number 2: A Select out of DBF('curTest1') triggers a file blablabla.tmp not found error while an Append from DBF('curTest1') works fine?
>>
>
>>In second "weirdness" you would directly select from curTest1 not dbf("curtest1").
>
>I still don't know why the select * from DBF('curTest1') triggers a "blablabla.tmp not found" while the Append from DBF('CurTest1') works fine. I know I can do a select * from curTest1 but why does the DBF() function trigger the error here?
Mark,
You're right in that but I really don't understand it too. Also file() returns .f. hence the file is there. It has to do something with file allocation and handles as I could "sense" but that's all. Native fox commands work but not select, file() etc. All I can assure it's a true cursor and exist on disk as any other cursor.
More to it :
select * from myTable nofilter into cursor myCursor
use dbf("myCursor") in 0 again alias myCursor1
copy to (getenv("temp")+"\dellater.tmp")
select * from (getenv("temp")+"\dellater.tmp")
So it's not really its path nor extension.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform