Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using FOPEN()
Message
De
19/03/2003 05:28:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/03/2003 14:07:01
Todd Brown
Teachers Credit Union
Granger, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00767050
Message ID:
00767423
Vues:
9
>>>Todd,
>>>What does ferror() return ?
>>>Still I see typos (?) in paths and still believe you're passing wrong path >info to fopen().
>>>Cetin
>>
>>ImportFileLnsCurrent = "\\dev\backporch\imp_tabs\w52_lns"
>>Handle = FOPEN(ImportFileLnsCurrent + ".dbf",12)
>>a =ferror()
>>? a
>>
>>returns 5. (Access Denied)
>>
>>Then I type the following and it lets me use the table.
>>
>>use "\\dev\backporch\imp_tabs\w52_lns"
>
>>It's in use elsewhere.
>>Cetin
>
>It allows me to use it exclusive. I would think that it would return file access denied.
>
>Todd

Todd,
Are you sure it does ? Use .. exclusive doesn't guarantee you're using it exclusive. ie:

use employee shared
select 0
use employee again alias myEmp exclusive
? IsExclusive('employee'), IsExclusive('myEmp')

Cetin

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
Répondre
Fil
Voir

Click here to load this message in the networking platform