Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql Problem
Message
De
02/06/1997 11:18:17
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
02/06/1997 11:11:00
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00034503
Message ID:
00034504
Vues:
30
>I have 2 tables, one parent and one child, a one to many relationship
>
>parent is having - code and description fields
>child is having - code, date & quantity fields
>
>i'm issuing this command
>
>sele parent.code, parent.description, child.date, child.quantity from parent, child where parent.code=child.code to file myfile
>
>& it gives me a output in a text file, where each and every parent field is repeated, in front of its child record...
>
>is there a way i can get parent field once and below that child records...(i don't want the repetition of parent fields and output should be transfered to txt file.)
>
>
>any help will be highly appreciated, (i don't want to use the report designer only with help of sql or any other command).
>
>thanks in advance...


Create a report and set up group headers and then REPORT FORM myform TO FILE myfile ASCII

HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform