General information
Category:
Reports & Report designer
>When i click on my Foxpro button a want to execute my access report with a cursor or a table foxpro.
>
>.....
>SQLEXEC(gnConnhandle,sql1,'curtmp')
>
>x = GETOBJECT('c:\reportfox.mdb','access.application')
>x.docmd.openreport('testingr')
>......
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
Previous
Next
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