Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No error when trying to use exclusive a table already in
Message
 
 
To
03/10/2001 00:04:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00563345
Message ID:
00563425
Views:
11
>Hola:
>
>Thanks for the reply
>
>Hope you notice something strange in my code:
>lcTabla = alltrim((ThisForm.Acgetdirectory1.txtDirectory.Value)) + ThisForm.aTablas(lnI)
>if file(lcTabla)
>       select 0
>	use (lcTabla) exclusive
<b>ELSE
        WAIT WIND "File not found '" + lcTabla +"'"</b>
>endif
>The if statement is true (the file exists) and enters the code block within.
>

How do you know that if statement is true? Add ELSE clause to the if statement to verify this or you can use VFP debugger to step thru code and see what's going on.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform