This topic is locked

Master Table Info List Question?

6/3/2009 8:28:13 AM
PHPRunner General questions
N
nix386 author

Hi all, just wondering if someone can answer this question; I have been playing around with an old project and have an issue when using master detail setup where the "Master Table Info List" displays master table and child on the same page. I'm using custom code for a field in the Master Table and for some reason the link in the "Master Table Info List" will not display the correct value where as the Master Table List Page will. I have inserted an image to better explain but It's really driving me bonkers and any assistance would be appriciated <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=11977&image=1&table=forumtopics' class='bbc_emoticon' alt=':blink:' />
Thanks,
Nick
This is the code I am using for "view as" custom code for this field.

global $data;

$value = "<a href=\"ticket_table_view.php?editid1=".$data["TicketID"]."\">".$value."</a>";


J
Jane 6/4/2009

Hi,
what PHPRunner version do you use?

N
nix386 author 6/4/2009

Hi,

what PHPRunner version do you use?


5.0 build 766

J
Jane 6/5/2009

Try to remove

global $data;



in your code and rebuild your project.

N
nix386 author 6/5/2009

Try to remove

in your code and rebuild your project.


OMG, so simple!
Thanks Jane and as always your help is greatly appreciated.
Nick