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

Home » RADICORE » How To » override auto rdcaccount_id clause in a manually extended SQL
Re: override auto rdcaccount_id clause in a manually extended SQL [message #1995 is a reply to message #1994] Mon, 20 April 2009 11:03 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2378
Registered: April 2006
Location: Surrey, UK
Senior Member
You need to modify the contents of the getData() and getData_raw() methods in your version of 'std.table.class.inc' so that the lines containing
$account_id_string = "rdcaccount_id='1'";
- and -
$account_id_string = "rdcaccount_id IN ('1', '$account_id')";

are changed to include the table name, as in:
$account_id_string = "$this->tablename.rdcaccount_id='1'";
- and -
$account_id_string = "$this->tablename.rdcaccount_id IN ('1', '$account_id')";

Let me know if this solves your problem.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Use Messages[] in a LIST1 transaction
Next Topic: Dynamic Task Selection
Goto Forum:
  


Current Time: Mon Apr 07 11:55:52 EDT 2025

Total time taken to generate the page: 0.01524 seconds