>>Hi guys,
>>thanks very much for the all your help. With your suggestions and help from the guys that produce .net extender I was able to solve it with this code.
>>(The ? is just to print the test out on the screen as records.)
>>
oEmployee = CLRCreateObject("PenSoftx.Employee",1)
>>ds = oEmployee.GetEmployees
>>oTable = ds.Tables.item(0)
>>
>>For nRow = 0 to oTable.Rows.Count -1
>> ?
>> oRow = ds.Tables.item(0).Rows.Item(nRow)
>> FOR nCol = 0 to oTable.Columns.Count -1
>> eData = oRow.Item(nCol)
>> ?? eData
>> ?? ', '
>> ENDFOR
>>ENDFOR
>
>Good Grief? Is that supposed to be compatible .net code?
John,
since I am just getting started on this .net stuff I can't really say what is correct .net code. I do have to say that, in the end, all that matters is that it works. I am able to use the .net dll supplied by the vendor and .net extender only cost $120. To me that is a real bargain compared to what it would cost me to pay someone to write the interface plus I have full control.
For my company it means finally having a high end payroll system we can offer our customers as an add-on to our management software.
Samuel David, the guy behind .net extender said I need to code it this way because of limitations in VFP.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn