Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status By Log Manager Report
Message
From
20/06/2000 08:37:40
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00381338
Message ID:
00382132
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform