Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lost programs, undeclared arrays, reports, and misc. q's
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00087807
Message ID:
00087824
Views:
38
>I have a bunch of questions:
>
>1. Within the application, there is a .prg called "prtsched". This program prints out a schedule. 99% of the time it works just fine. But now it's started a new trick. The first time it runs it gives an error that the file "prtsched" doesn't exist! How can it not exist? It was compiled as part of the project. If you go try again, it finds it. And it's only doing this for one client, and not the one with win32s, so I can't blame it on that. This is as bad as the lost index mess... :(
>
Is prtsched a stand alone prg file or part of a menu's cleanup routine programming.?

>2. When I use the "copy to " command, it only seems to work if the array was not declared prior to using it. Is this some kind of bug?
>
Nope! You need to dimension the array to the size you need. Number of records and columns. This is documented in the help file.

>3. Is it possible in a report to have something print only on the first page? I was thinking of doing a "print when" where it prints if the pagenumber is 1. The problem is that I don't want all that white space on the following pages. I can't just have it print out some kind of cover sheet before it prints the report because the schedule needs to start on the same page as the checklist (the checklist is what I want just on the first page).
>

Print When may work. There's a check box saying "Remove line if blank". That should elminate the extra space.

>I thought I had more questions, but I can't think of them right now. Don't worry, though, I'm sure I'll be back with more questions. :)
>
>Thanks in advance,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform