Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute a Access Report
Message
De
06/12/2001 17:21:33
 
 
À
06/12/2001 16:38:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00590746
Message ID:
00590876
Vues:
23
>>
>>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
Fil
Voir

Click here to load this message in the networking platform