Kbase 17216: Actuate hyperlink invalid procedure reference semantic error
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Actuate hyperlink invalid procedure reference semantic error
You have tried to create a hyperlink in Actuate and just can't seem to
get it to work. You have double-checked the scope of the object you
are trying to link to. To check this, you brought up the Component
Editor for the destination object. You clicked on the Class tab and
noticed the line which begins with Scope. You have appended this
Scope onto the beginning of your object name as the first parameter
in your FollowLink method. For example, your code in the
OnFollowLink function has a line which reads:
theLink.FollowLink("NewReportApp::Frame1::orderid", "DataValue",
DataValue, False)
Still, when the source report is compiled, you receive the error:
NewReportApp::Frame1::orderid%OnFollowLink(5): Invalid procedure
reference. - (FollowLink) 1 Semantic Error(s) found.
Did you know that the third parameter of the FollowLink method must be
a STRING datatype? Many people don't. If the field you are trying to
link to is an integer, as in the above example, (or any other
non-string), you will have to convert it to a string using the Cstr
function. For example, the corrected line should read:
theLink.FollowLink("NewReportApp::Frame1::orderid", "DataValue",
CStr(DataValue), False)
Ahh, that's much better!
Progress Software Technical Support Note # 17216