I am putting my app together again after a 'botched' backup - 'nuff said.
I am having problems with my Reports - which previously worked like clockwork.
Now they work when debugging and not in the executable.
I am showing the Reports in a maximised window with a Page n from nn in the footer.
Can anyone see anything in the following code that may not be quite 'kosher'.
I am having problems with my Reports - which previously worked like clockwork.
Now they work when debugging and not in the executable.
I am showing the Reports in a maximised window with a Page n from nn in the footer.
Can anyone see anything in the following code that may not be quite 'kosher'.
Code:
&& main form already activated
Set Default To (mydatapath)
nTotalPages = 0
Define Window x From 1,1 To 20,20
Acti Window x
Report Form ('myreport.frx') All
* the first run should get us the
* number of pages and summary cursor...
* then:
nTotalPages = _Pageno
Release Window x
Activate Screen
Report Form ('myreport.frx') Preview Window ;
(oRepForm.Name) To Printer Prompt