Information générale
Titre:
VFP 5.0 - Passing CURSOR from Form to Report
I not sure whether this is a bug or I am doing something wrong but here goes:
I have a form that contols the direction of output for a report (screen or printer). The user chooses the output preference using a radio button then clicks a command button to execute the report. The the click method on the command button runs a SELECT whose results are placed into a cursor. This cursor contains the data to be used for each detail line in the report. If _TALLY > 0 then the report runs otherwise an error message box pops up. This works great except that the report only seems to process the first record in the cursor. I only ever get 1 detail line.
Any ideas on how I can get the report to process all rows in the cursor?
Thanks,
Andy
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement