Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBF() not found
Message
From
26/05/1999 03:05:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00220314
Message ID:
00222808
Views:
28
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform