Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbf not available when I HIDE WINDOW
Message
 
 
À
16/08/2001 14:58:46
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00544835
Message ID:
00545120
Vues:
17
>>>>snip
>
>>>Pete,
>>>
>>>In the Debug window, enter the expression USED(< alias name >) and click the bar to set a break point after the window has opened the file. When it changes the execution should stop and you should be able to see what closed it (CLOSE ALL??) by issuing ACTIVATE WINDOW TRACE from the Command Window. Be sure, however, that all source files are on the fox path and the program, if compiled is up-to-date.
>>
>>
>>OK guys,
>>that's what I'm doing now.
>>
>>PETE
>
>
>This is what I found...
>
>from window; do prog
>-----
>USE templt IN 0 EXCLUSIVE && Working template file
>COPY TO &t_FIL1 && "SI" + week# file
>USE && Close templt
>
>IF SELECT('SIdates') = 0
>------
>
>The SIdates dbf is USED() until the USE line after COPY. I see I should have SELECTed templt before the USE. I had to look at it for a bit before I saw the error.
>
>Thanks guys!!!

Just put
use in Templt
to close Templt table. Also you don't need to use macro in the line bellow. Put copy to (m.t_fil1) instead.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform