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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rowid problem

Status
Not open for further replies.

discusmania

IS-IT--Management
Oct 24, 2000
158
AP
hi guys....
i combine batch delete and edit function in the same page . the problem is when i want to edit the record base on rowid , i can;t do that because all the rowid is passed to the next form, not only the rowid for the selected record. have someone encounter this type of error b4. Please help.

Regrds,
Nor
 
If you are looking for a way to know what record someone wishes to edit, there's a couple of different ways you could handle it --
1 -- make the record headers links that call a javascript function and pass arguments to the function that would either set a hidden form field or pass the rowid in question via querystring where you could pick it up on the next page, and then submit --
2 -- have checkboxes that someone would check, that were next to the record that they wish to edit, and evaluate which box was checked on the following page to find out what record to deal with --

There are certainly more ways to do it. If you listed some more details, then we could probably work out what would be the best solution for your situation --

Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top