Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Some question in making report
Message
De
16/07/2002 22:12:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Some question in making report
Divers
Thread ID:
00679448
Message ID:
00679448
Vues:
59
Hi, in my program. I have two dbf file, one is "staff" and the other is "Key".
I output the infomation to the report with the query below.
However as the "key.transfer" is the feild that in form of the ID number of the staff instead of NAME and it is not good. I wonder how should I write the query or other method that output the NAME which correspond to the TRANSFER(the name is store in the "staff" dbf file)


select distinct staff.staff_id, staff.name, staff.chi_name, key.key, key.category, key.d_to, key.d_return , key.transfer from key, staff where alltrim(key.category)="ACCESS" and key.key=thisform.text2.value and staff.staff_id=key.staff_id order by d_to into cursor ppp
report form transfer_report noconsole to printer prompt preview

I know my mail is quite long.I hope someone can help me..thx
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform