Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
adding/appending lines in a grid.
Message
De
23/05/1996 08:41:25
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00001571
Message ID:
00001580
Vues:
40
>>I am creating an invoice form that has header
>>records on the top of the
>>form (vendor,invoice #,invoice date, total
>amount,
>>etc.), and
>>I need to have detail/line items for that header
>>in a grid at the bottom
>>of the form. I cannot get the grid to allow me
>to
>>add more than one row
>>to it! I have a link between the header records
>>and the child records on vendor+
>>invoice # (two files inv_head, and inv_detl).
>The
>>best I have done is to get it to allow
>>me to append a blank record to inv_detl, and add
>a
>>line to
>>the gri
>
>
>I assume you have the height properties set on
>both the Form & Grid to accomedate the needed rows
>in the Grid. Are you sending the results to a
>Cursor? IE: do an SQL on fo the data to a cursor
>(view, whatever) and then use the resulting
>cusrsor at your data source.
>
>Just a thought
>Tom

Also, you may want to check the sparse property of the grid!

Good Luck,

John Adams
John Adams

John T. Adams
Software Consulting Services
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform