Global and Tabbed dialog weirdness


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on December 09, 2005 at 15:03:26:

My new tabbed dialog program, UM, updates the User file which another program uses to SetGlobal. So, entering UM, I have some vaiables in Global that are also in my user INC file. But not the Days and Hours arrays.

After reading a user and update or release the extract, I Gosub ClearFields and set the Days(7) and Hours(24) arrays to Y. Then I Gosub PutFields which displays all the default values on the three tabs. Tab1 is OK. Tab3, which displays hours, shows all 24 fields checked. Tab2, which displays days, shows the fields that were checked on the last user read. they don't reset. If I had Joe working 0900 thru 1700 on Mon, Wed and Fri, all 24 hours reset but the days remain Mon, Wed and Fri. I've followed this with Debugger and it looks like it should be working.

I decided, for good programming practices, to change my User INC file to use W's inplace of the U's. So UNAME$ became WNAME$, etc.

recompiled UM and the problem with Tab2 was fixed.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]