General information
Category:
Reports & Report designer
>>
>>I don't think this is possible. You have to base the report on a query or table that somehow is populated with the contents of your cursor. Two ways to do it that come to mind are:
>>- base the report on a linked fp2.6 table, write the cursor with COPY TO TYPE FOX2X
>>- base the report on an odbc query to a vfp free table, write the cursor to this table.
>>
>>HTH
>
>i found the solution :
>
>x = GETOBJECT('c:\reportfox.mdb','access.application')
>x.visible = .t.
>x.OpenCurrentDatabase("c:\reportfox.mdb")
>x.DoCmd.TransferDatabase(2,"odbc","ODBC;DSN=testing;DATABASE=datebase",,"tabletest","tabletest")
That's yet another way. Basically an import of the tabletest table into an Access table. I assume you wrote the cursor into a DBF before doing this.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only