Error on Web

Hi All

I have a problem with a app of mine which is web based.

I have a Error form with the code

<a href=“/ and a field with the code @ReplaceSubstring(@Subset(@DbName;-1); “\”:” “; “/”:”+“)”>Balance Scorecard

This form is used to display error messages on the web and when the user clicks on the Link Balance ScoreCard then it should take him back to the main page on the web.

Problem is, it does open the main page but within the previoy frameset, i.e there is now 2 frames within one another.

Is there anyway I can overcome this.

Kind Regards

Subject: Error on Web

Subject: RE: Error on Web

Actually I do have 1 more question please.

I get this error when trying to open a form on the web.

"The page you were trying to access could not be displayed because the following error occured:

HTTP Web Server: Lotus Notes Exception - Entry not found in index"

Its a simple form with a few @dblookup on a few buttons. Any Idea why?

Subject: RE: Error on Web

@DBLookup generate error if value you looking for not found.You shoul use this code:

temp:=@DbLookup( class : cache ; server : database ; view ; key ; fieldName ; keywords );

@If(@IsError(temp);“Error message”;temp)

Best Regards,

Dima Pechersky

Subject: RE: Error on Web

If you are running Domino R6, you can use:

temp:=@DbLookup( class : cache ; server : database ; view ; key ; fieldName ; [FAILSILENT] );

If there is an error, it will return a blank value(“”), and you won’t have to test for an error.

Subject: RE: Error on Web

Thank you very much guys, ur advice really helped a lot.

Subject: RE: Error on Web

But the only time I have a @dblookup is on a button for a editable field.

Surely, that should not give the error on loading the form.

I have @dblookups on other forms and they open perfectly fine on the web.

Thank you for your advice. Any other ideas prehaps.

Subject: RE: Error on Web

Howdy! :wink:

Could it be a security issue? Who is doing the lookup? Do they have access to the other view or db?

Why use a button to enter a value in an editable field? Do you need a value from another field first? Your problem is probably there. If this is true, make sure your “key” value is “computed-for-display”, and listed before your button. Try this under your button:

lkp := @DbLookup(blah, blah!);

@If(@IsError(lkp)|lkp=“”;FieldName;lkp)

If you want to make sure that the button is the problem, then try and open the form or document in the Notes client.

Good luck! :wink:

Steve in Montreal

“Wherever you go, there you are.”

Subject: RE: Error on Web

Thank you so much Glen.

Your help is much appreciated.