Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
adding/appending lines in a grid.
Message
From
23/05/1996 08:41:25
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00001571
Message ID:
00001580
Views:
44
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform