Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form To Report
Message
De
28/01/1999 15:43:16
Julie Ball
Gardner Publications, Inc.
Cincinnati, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Form To Report
Divers
Thread ID:
00181515
Message ID:
00181515
Vues:
46
I am creating a report that displays data from a form. The form has a combo box that is storing product information. Well, that product information is used to display all the companies that carry the products selected in the combo box, on the form. The follow code is what I have in the click event of a command button that is located on the form.

SELECT company
SET RELATION OFF INTO product SET ORDER TO 1 SELECT product
SET RELATION TO product.compyID = Company.compyID INTO company;
ADDITIVE
REPORT FORMAT ProductList.frx FOR product.code = ;
SUBSTR(ALLTRIM (prod),1,4) AND product.compyID= company.compyID ;
ENVIRONMENT TO ;PRINTER NOCONSOLE

Table names are Company and Product
Prod is the field name for the product code on the report.
----------------------------------------------------------------------
The above code prints out a blank page.

Any suggestion?

Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform