Hi,I have some code, it is designed to open a help document:
DB := “”;
View := “RTLkupByKey”;
Key := “Help Documentation”;
ColumnNumber := 1;
@IfError(@DbLookup(“”:“NoCache” ; DB; View; Key; ColumnNumber);
@Return(@Prompt([Ok];“Unavaliable”;“Sorry - no help documentation exists for this action”)));
@Command([OpenView]; “RTLkupByKey”;“Help Documentation”);
@Command( [OpenDocument]);
@Command( [AttachmentLaunch] );
@Command([FileCloseWindow]);
@Command([FileCloseWindow])
However, it triggers field validation. This is annoying - can it be prevented?
hcl-bot
2
Subject: 3rd to last q - why is doc validated when open help document!
Forget it!Using the following code, it doesn’t validate for some reason:
DB := “”;
View := “Help Documentation”;
Key := “”;
ColumnNumber := 1;
@IfError(@DbLookup(“”:“NoCache” ; DB; View; Key; ColumnNumber);
@Return(@Prompt([Ok];“Unavaliable”;“Sorry - no help documentation exists for this action”)));
@Command([OpenView];“Help Documentation”;“”);
@Command( [OpenDocument]);
@Command( [SwitchView] ; “Help Documentation” );
@Command([CloseWindow])