Hyperlinks in grids

This example will demonstrate how to re-write the template of an SBTextBox so that as opposed to displaying the data as plain text and allowing users to edit the text, the text is converted into a hyperlink and when the user clicks on the link a SB/XA process is called. It is important to note that the process is executed in the same method a '/' process is called.

SB/XA Server Side Code
The SB/XA paragraph P.EXECUTED.HYPERLINK that is called when the hyperlink is clicked.



What it looks like
I have used the hyperlink, in this case to bring up the specific maintenance screen for the line item I am on. In the paragraph, that was called by P.HYPERLINK.HANDLER, HL*I*WINERIES*MAINT, I used the value which was passed in @PARAM, which in this case is @CNT to load the key for the wine, which is then data stacked into the Wine Maintenance form.



All up this is not complicated and I am sure using this technique in some imaginable ways can add significant value to your applications.

This style was tested in 6.0.1.2135