I hope someone can shed some light on this, because it is driving me crazy:
My database returns two fields, {cb_name} and {cb_url}. The first contains a name of a company, the second the URL to their website.
I now build that into a string for a web link to be displayed in a grid. I do this on the onrecord event:
{fld_weblink} = ‘<a href="’.{cb_url}.’" target="_blank">’.{cb_name}.’</a>’;
assume
{cb_name} = ‘My Company’;
{cb_url} = "http://www.mycompany.com’;
When {fld_weblink} is displayed in the grid the url now appears as
http://localhost/www.mycompany.com
Where is it getting “localhost” from? How can I get around this to ensure the integrity of variably is maintained?
Thanks