creating computed field/columns in grids that link to external pages

Hi all,

Is there a way to create an extra column in a grid that contains a http link to an external web page, but part of the string for that link is computed using a value from another field in that row?

For example, here would be the values in a row: (Link is the computed field)

Link ObjectID ObjectDesc
http://site.com?id=200 200 This is a description.

I couldn’t find any examples or documentation of how to do this, but this is normally a very simple step in other similar applications. Any help would be appreciated. I am guessing an alternative option would be to edit the deployment file that is created and manually add the row myself?

thanks,

Matt

Re: creating computed field/columns in grids that link to external pages

Hi,
I didn’t try it but have a look at the “sc_link()” macro.

Something like the following should work:

In the left pane choose the Grid section and open the Fields folder.
Click on New Field and select the type you need/want (may be a HTML-Image could be an idea).

Open the Events folder and select the onRecord event.
Type in the code for the macro, like: sc_link(link_column,www.site.com?id={Object_ID},,“Let’s go!”);

jsb