Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to append line in the grid
Message
De
08/06/2004 05:26:26
 
 
À
08/06/2004 03:14:05
Budi Irawan
Berlian Laju Tanker
Jakarta, Indonésie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00911018
Message ID:
00911036
Vues:
28
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform