Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move Row from one datagrid to another

Status
Not open for further replies.

JohnnyLong

Programmer
Sep 27, 2002
97
GB
I have a form with 3 tabs. Tab1 has a datagrid displaying candidate details. I want to right click a row and using the contextmenu click Shortlist to move the selected row to a datagrid on Tab2 and click Reject to move the selected row to a datagrid on Tab3. How would you go about this? I'm thinking of adding a column to my sql7 searchresults table, 'Selection char(1)'. Then update the record with 'O' for original list, 'S' for shortlist and 'R' for reject list, and then bind each datagrid to the records with the corresponding 'Selection'.
Or is there a way to move rows between grids and then save the data to the table?

TIA

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top