Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Transaction Patterns » Delete2 deletes the wrong records... where's my error?
Re: Delete2 deletes the wrong records... where's my error? [message #1205 is a reply to message #1204] Mon, 31 December 2007 13:31 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
You will need to step through with your debugger to see what records are being selected when the MULTI2 screen is populated, then check that when you select a record for deletion the primary key of that record is being extracted correctly before being passed to the DELETE2 transaction.

There is a MULTI2 transaction in the MENU system which you can test (see http://www.tonymarston.net/php-mysql/menuguide/mnu_nav_butto n(multi2).html), and if this works correctly then there is nothing wrong with the logic within the Radicore code.


 
Read Message icon5.gif
Read Message
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: POPUP transaction probelm
Next Topic: can't get _cm_popupReturn to execute
Goto Forum:
  


Current Time: Sat Apr 27 02:09:36 EDT 2024

Total time taken to generate the page: 0.01044 seconds