Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to append line in the grid
Message
From
08/06/2004 05:26:26
 
 
To
08/06/2004 03:14:05
Budi Irawan
Berlian Laju Tanker
Jakarta, Indonesia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00911018
Message ID:
00911036
Views:
25
If you mean your new line is not showing in the grid then, after append etc. you need :

Thisform.grdMyGrid.Refresh()

and your new line should appear. As for adding another category, I don't see the problem. Your category is presumably stored in lccategory so you just assign a new category to this var and use the same code again (make it a form method with the category - and whatever else - as a param if necessary)

>dear all,
>
>i want to append line in the grid without delete existing line
>
>
>here's a sample :
>
>lccategory='F' && freight
> * ----------------------------- *
> * make invoice detail - freight *
> * ----------------------------- *
> sele invoice
> append blank
> replace invno with lcinvno, category with lccategory, desc with qntybld.kdcargo, kdpol with lckdpol,;
> kdpod with qntybld.kdpod, qnty with qntybld.qntybl,;
> freightmt with lnfreightmt, amount with qntybld.qntybl*lnfreightmt
>
>
>from coding above shows creating line, now i want to add another line with different category, how do i do that ??
>
>
>TIA / Budi
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform