![]() |
Sergey Kornilov admin 2/3/2006 |
Frank, if("details"==$table && $field=="Comments") return "`details`.`Comments`"; and replace it with: if("details"==$table && $field=="Comments") return "`master`.`Comments`";
|
F
|
frocco author 2/3/2006 |
Frank, to get your pages working please modify GetFullFieldNamefunction in include/dbcommon.php file. Locate ths line there: and replace it with: Then repeat this for the rest of joined fields.
|
Z
|
zavka 2/6/2006 |
Hi |
![]() |
Sergey Kornilov admin 2/7/2006 |
Hi, select table1.id, table1.name, table2.name as name2, table1.quantity * table2.price as totalcost from table1 inner join table2 on table2.id=table1.id
if("table1"==$table && $field=="name2") return "table2.name"; if("table1"==$table && $field=="totalcost") return "table1.quantity * table2.price";
|
Z
|
zavka 2/7/2006 |
Thanks a lot for answer <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7910&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
W
|
webbiz 2/14/2006 |
It appears that "== $table" above. |
T
|
TheSaint 3/10/2006 |
We plan to add a query builder into the next PHPRunner version to automate SQL query construction and avoid manual modification of the code.
|
![]() |
Sergey Kornilov admin 3/13/2006 |
Steve, |