>>>Hi Cetin,
>>>
>>>But programaticaly is possible to do that or not ?
>>>I need to do that programaticaly because i want the user to choice that break.
>>>
>>>Thanks
>>
>>Hi Joao,
>>
>>You could open the report programmatically. Then do a search for the group expression with Objtype = 9 and Objcode = 4. There's a field named PAGEBREAK. Set this field to .T. to break, .F. for no break. The close the table, and run the report.
>>
>>hth,
>
>George,
>
>Thanks, i will trie to do so.
>But if the report file was linked with the exe how could i change the frx ?
>I can't do so i think.
>If there was a system variable like _grouppagebreak = .t. or .f. ......
>
Hi Joao,
If the report is not excluded from the EXE, my suggestion won't work. What your doing is allowing, indirectly, the user to modify the report. In order for this to occur, the report has to be excluded.
There is no system varaible that controls the page break. Each is determined by the contents of the report file.
George
Ubi caritas et amor, deus ibi est