Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save report
Message
De
13/07/1998 14:20:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/07/1998 14:08:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00116845
Message ID:
00116881
Vues:
21
>Hi Cetin!
>Can you, please, specify what do you exactly mean by select data into a table?
Valentin,
At the time of report form calling you could SQL select the data of the report to a new temporary table. Better explain with code :
select * from mytable1 ;
inner join mytable2 ;
on mytable1.id = mytable2.id ;
where mytable1.orderid = ?somevalue ;
into table tcMyReport
* Report form would use tcMyReport
* A reports table will hold data
report form myReport preview
use in "tcMyReport"
insert into reports (dtprinted, description, dbfcontent,fptcontent) ;
values (datetime(),"Some description")
select reports
append memo dbfcontent from ("tcMyreport.dbf")
append memo fptcontent from ("tcMyreport.fpt") && SQL could produce no fpt
erase tcMyreport.*Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform