Marcel,
The FoxPro reports work of the cursor/table only and print one detail record per one record in the current alias. If you want to print one time and not from a cursor, create a tem cursor with one record and make it current before running a report.
>I have a ReportBizObj that is instantiated in the MyReport Click Event on MyForm.
>In this ReportBizObj after setting up a FieldValueCollectionObject property and some other properties I call ReportBizObj.Get()
>
>There I have the following code
>
<snip>
>
>After this I call:
>REPORT FORM WindShieldSticker.frx PREVIEW
>
>In the report I tested with just one field retrieving a value from the Collection of Field Values:
>
>this.FieldValueCol.item('RepairOrderNumber')
>
>
>(sorry for the lengthy setup)
>
>Questions
>Why would it try to print this value 13 times? I did notice that the lookuptable where I use the locate commands contains 13 values in it. Am I putting a loop in it inadvertantly? I can't find it.
>
>Also, is this an entirely retarded way of doing things?
>
>Thanks
--sb--