Dialog box fails on one client!

We have one application (In-Out Board) that calls up a dialog box and modifies the underlying document using formula language.

Once in a while, this stops working for a given client. The dialog box appears and seems normal, but when the user clicks OK, nothing gets transferred to the underlying doc. Other clients are having no such problem.

It happened a couple of times years ago, and we eventually fixed it, but I can’t remember how! I thought it was as simple as removing the database icon from the workspace and replacing it, but I tried removing the bookmark, and even removing bookmark.nsf, to no avail.

I think this isn’t specific to Notes 6, nor to Windows 2000. In the earlier instances, we were using Win98 and Notes 4.6.

Suggestions?

Subject: Dialog box fails on one client!

What access does the user have - Editor or Author? If Author, maybe they are not in the author names field of the underlying doc?

hth

Tony

Subject: Solved it!

The key was indeed to remove the bookmarks and add them back. I had to open the workspace to remove all of them. After that, the dialog began working again.

Thanks for responding.

Subject: RE: Dialog box fails on one client!

There’s an Authors field, but this user has Editor access (as Receptionist, she needs to be able to check everyone out, not just herself).

Her access hasn’t been changed in years, in fact.

It’s evidently some kind of bug that rears its ugly head once in a blue moon. I think something gets corrupted in the workspace or cache or something. I’ll keep messing with it.

In case you’re interested, here’s the code…

FIELD DOutDate:=@Now;

FIELD DOutTime:=@Now;

FIELD DInDate:=@Adjust(@Now;0;0;0;1;0;0);

FIELD DInTime:=@Adjust(@Now;0;0;0;1;0;0);

FIELD DLocation:=“not selected”;

FIELD DContact:=DefaultContact;

FIELD DComment:=DefaultComment;

UButton:=@DialogBox(“Checkout Dialog”;[AutoHorzFit]:[AutoVertFit];“Custom Check-Out”);

@If(UButton;“”;@Return(“”));

Y2KDate1:=@Adjust(DInDate;100;0;0;0;0;0);

@If(DInDate<@Date(1990;1;1);@SetField(“DInDate”;Y2KDate1);“”);

Y2KDate2:=@Adjust(DOutDate;100;0;0;0;0;0);

@If(DOutDate<@Date(1990;1;1);@SetField(“DOutDate”;Y2KDate2);“”);

OutCombined:=@TextToTime(@Text(DOutDate;“D1S0”)+" "+@Text(DOutTime;“T1S1”));

@If(OutCombined<@Adjust(@Now;0;0;0;0;15;0);@Do(@SetField(“OutDate”;DOutDate);@SetField(“OutTime”;DOutTime);@SetField(“InDate”;DInDate);@SetField(“InTime”;DInTime);@SetField(“Location”;DLocation);@SetField(“Contact”;DContact);@SetField(“Comment”;DComment);@SetField(“InOut”;“Out”));@Do(@SetField(“FutureOutDate”;DOutDate);@SetField(“FutureOutTime”;DOutTime);@SetField(“FutureInDate”;DInDate);@SetField(“FutureInTime”;DInTime);@SetField(“FutureLocation”;DLocation);@SetField(“FutureContact”;DContact);@SetField(“FutureComment”;DComment)))