« Return to the main article
What kind of errors are you getting in the Notes client? I hope I am understanding your question correctly.
If you're working in R5, you can modify Jake's call to the doSearch function by checking for the JavaScript property appName.
An example:
if (navigator.appName != "Lotus Notes") { doSearch(s); }
This way, the JavaScript that follows will not execute in the Notes client.
If you're looking for a workaround in an R4 environment, you can essentially hide a subform from the client by checking for $$Web in @UserRoles.
So your subform formula would look something like:
@If(@IsNotMember("$$Web"; @UserRoles); "NotesClientSubform"; "BrowserSubform")
I hope this helps.
Bill
What kind of errors are you getting in the Notes client? I hope I am understanding your question correctly.
If you're working in R5, you can modify Jake's call to the doSearch function by checking for the JavaScript property appName.
An example:
if (navigator.appName != "Lotus Notes") { doSearch(s); }
This way, the JavaScript that follows will not execute in the Notes client.
If you're looking for a workaround in an R4 environment, you can essentially hide a subform from the client by checking for $$Web in @UserRoles.
So your subform formula would look something like:
@If(@IsNotMember("$$Web"; @UserRoles); "NotesClientSubform"; "BrowserSubform")
I hope this helps.
Bill