cginavlink(
PROCEDURE
,
CAPTION
)

The cginavlink( function creates a domain-independent navigation link for the current record in this database.


Parameters

This function has two parameters:

procedure – the procedure being linked to. This must be a procedure in the current database.

caption – caption for the URL. This is the text that the user will see on their web browser.


Description

This function is designed to be used in a CGI routine to create a domain-independent navigation link for the current record in this database. The end result is a complete <a> tag that can be inserted into the HTML being generated by the current CGI procedure.

cginavlink("edit","Edit Record")
    ☞ <a href="http://site.com//cgi-bin/Panorama.cgi?Catalog~edit~=4996">Edit Record</a>

In this result, 4996 is the id number for the current record.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but now works with non-shared databases (of course, the database must still be on a server).