Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending records in a grid
Message
From
04/12/2002 10:33:50
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
04/12/2002 10:04:56
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00729167
Message ID:
00729440
Views:
11
Thanks for the clarification... now I understand.

My suggestion is to change your gridlist's view WHERE clause to be a dynamically built INLIST(Table.PO, ListOfPOs) statement instead of WHERE Table.PO = SinglePO

As each PO selection is made (and you'll have to make a UI decision as to when to stop adding POs to the list --- maybe a multiple selection listbox with all POs?) you adjust ListOfPOs accordingly and requery.

Hope that helps,
---J

>Here is the scenario,
>
>The user enters a purchase order number. When my SearchPO button is clicked, the materials belonging to the entered PO number will be displayed in my grid which includes description, received quantity and amount. When the user enters another PO number and clicks the SearchPO button again, the materials will be displayed again in the grid. In my grid, I will provide a checkbox that the user can check/uncheck to select the materials that he/she will be paying. The grid display will be cleared when my CreatePayable button is clicked.
>
>Nerissa
Previous
Reply
Map
View

Click here to load this message in the networking platform