@IsError - Is it compatible with R7

Hi All,

I have used the code “@IsError” on a database that was created in R6. Now I want to see its compatibility in R7 version of notes on a Windows Vista environment and Office 2007. Will it throw an error and if yes what kind of error and what is the solution for it.

Thanks

Ravi

Subject: @IsError - Is it compatible with R7.

@IsError is fine, it’s only @IfError that has been made obsolete in R7.

If you have used @IfError, you need to replace it with @If(@IsError(…

Subject: RE: @IsError - Is it compatible with R7.

Note, though, that @IfError was obsoleted because it never did work properly. It still works the same way it always did, so existing code does not need to be modified if it works, but it is recommended that you not use it in new code.

Subject: RE: @IsError - Is it compatible with R7.

Stan, just out of curiosity: When adding a posting through the Notes client, is the posted time displayed in the forum that of your original local saving?

I’m pretty sure, that your posting wasn’t there yet, when I wrote my response, but by now the time difference of 1 hour makes me look like a stupid, bossy blow-hard who repeated everything you said in his own glory words … (could still be true, but I’d rather not want this to be the proof)

Subject: RE: @IsError - Is it compatible with R7.

The posting is added to the database when it is saved. The execrable quality of my internet connection over the last couple of days means that it may not be replicated up to the server for, well, quite a long time, so the problem may well have been solved, the resulting code burned to an optical disk and the product gone to market and sitting on store shelves for months before my suggestion sees the light of day. Oh, well.

Subject: RE: @IsError - Is it compatible with R7.

LOL! Sounds as close as you can get to a time machine … :slight_smile:

Thanks.

Subject: RE: @IsError - Is it compatible with R7.

“Obsolte” does not mean “dysfunctional”.

@IfError works still the same in Notes 7 as it did in Notes 6: Not entirely correct. It doesn’t fetch all the errors that @IsError does and that’s the whole story. I wouldn’t use it in a newly developed application (in fact, I didn’t use it in 6), but I’d not necessarily go through all design elements and replace it, either.