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

Home » RADICORE development » Bug Reports » multi2
Re: multi2 [message #754 is a reply to message #752] Mon, 09 April 2007 17:50 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
When _dml_ReadBeforeUpdate() is called in the updateRecord() method the $where string is constructed using ONLY the primary key of the current record, and the radicore framework does not allow the updating of primary keys in its default behaviour. If you wish to update a primary key then you can only do so with custom code, in which case you should use the updateSelection() method.

There is a function built into the framework which updates primary keys - take a look at the Task Rename function.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: std.datevalidation.class.inc
Next Topic: Fatal Error: MySQL error: 1271
Goto Forum:
  


Current Time: Tue Jun 25 21:48:52 EDT 2024

Total time taken to generate the page: 0.01064 seconds