Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Status By Log Manager Report
Message
De
20/06/2000 08:37:40
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00381338
Message ID:
00382132
Vues:
25
Hi Freddie,

You will get "File 'schd.dbf' does not exist" if the file does not exist in the DEFAULT folder. SET DEFAULT TO will fix this.

Bye

Liam


>Hi Liam:
>
>I have inserted new code for open see below:
>
>LPARAMETERS cStatus, nInputYear
>IF !Used("SCHD") Then
>Use SCHD in 0
>Endif
>SELECT ;
>Ilspm, ;
>Status, ;
>Start, ;
>Comp, ;
>Ssp, ;
>Ils_k, ;
>Avail, ;
>Ship, ;
>Hull, ;
>Num_Chgs ;
>FROM Schd ;
>WHERE Status = cStatus AND ;
>Val(left(SSP,2)) = nInputYear ;
>INTO CURSOR Rptstatus1 ;
>ORDER BY 5
>
>IF _TALLY > 0
>REPORT FORM Rptstatus1 PREVIEW
>ELSE
> = MESSAGEBOX ("Sorry, there was no records matching your report criteria."), 0, (" Status Report ")
>ENDIF
>
>Question 1: Should I have an open statement Then Program Error File does not exist.
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform