Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting
Message
 
 
À
05/06/2002 02:28:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00664835
Message ID:
00664869
Vues:
26
Hi!

When you split, re-number the items (Split Item no. should be a field in the cursor displayed in grid). Make an index by the order number in the cursor using INDEX command. So when you split, records wil be displayed in teh order determined by order number (Item no.). Grid.Refresh will re-display records correctly ins uch case.

>I Have a cursor such as Split c(1),Batch c(10), Product c(5),Qty n(7,2),
>
>In Grid :
>
>Split Item no. Batch Product Qty
> 1 A1 A 5
> 2 A2 B 6
> 3 A3 C 7
>
>Then I have button Called Split
>When Click on Button split at line 1 (Product A), I want to insert a duplicate record into the second line. It depends on how many time I click on Split button.
>
>Such as :
>
>Split Item no. Batch Product Qty
> 1 A1 A 5
> 2 A1 A 5
> 3 A2 B 6
> 4 A3 C 7
>
>Is that possible to do the sorting like this> any suggestion? Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform