Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>
>>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement