Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get customer name from the other database
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00098540
Message ID:
00098711
Vues:
28
>I used the report designer to create a report named invoice.frm.
>In the invoice.frm, the used database is invoice.dbf. Since the invoice.dbf is only stored the customer number, i can't print the customer name. How i add the customer name field in the invoice.frm ? And the customer name is retreived by the customer number.
>
>Waiting for any advice. Thanks!
>
>Dennis
Use an SQL cursor of the two 'Joined' tables as the basis of your report.

SELE *;
FROM INVOICE, CUST;
WHERE CUST.custno = INVOICE.custno;
INTO CURSOR invrept


Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform