keepingbusy
Programmer
Hi
The little hair I have left has almost been pulled out!
Can someone please explain this with the REPO FORM command?
I have a table called DTMG11
Within the table is a field called REFNUMB
The report is a single page type with a memo field called FREETEXT that takes up most of the page therefore there is only one report for each record.
For test purposes I know that the table contains four records, two of which have the reference number 280.
The variable mrefnumb=280 but could be any other number depending on what information is being searched (280 for this example)
When I issue the following it only shows the first of the two records:
Code:
REPO FORM mg11 NOCONSOLE PREVIEW FOR REFNUMB=mrefnumb
Code:
REPO FORM mg11 NOCONSOLE PREVIEW WHILE REFNUMB=mrefnumb
I also tried puting this into a DO WHILE... etc without success.
This is quite frustrating and I suspect I'm missing something really easy here.
Please can someone suggest?
Many thanks
Lee