Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ValidateProductID and Preselected?

Status
Not open for further replies.

DroopyA

Programmer
Aug 5, 2003
52
US
Instead of having one "ProductID" editbox on the "UserInformation" dialog, I have 3. Each box has it's own value (SerA, SerB, and SerC). But now, when you run the application, if the fields are correct, the ProductID Error Message will still load the next dialog box. I'm assumeing it's because of this mysterious "Preselected" value that Wise has no mention of in their help document or their website. Does anybody know what's wrong? Here are the Events in the Next Button:

Event: ValidateProductID
Argument: 0
Condition: SerA = "1111" AND SerC = "1111"

Event: NewDialog
Argument: Single_Feature_Destination
Condition: SerA AND SerC AND NOT Preselected

Event: NewDiwalog
Argument: Start_Installation_Dialog
Condition: SerA AND SerC AND Preselected

If I entere 1111-2222-1111 (SerA, SerB, SerC) then Next loads the correct form. However, if I enter 1122-2222-1111 then the error saying the ProductID is wrong appears yet when you click OK it still loads the next dialog. Any idea why?
 
OOPS... I ment the first EVENT Condition was SerA <> &quot;1111&quot; OR SerC <> &quot;1111&quot;

I belive the answer to my question was just adding this as the condition to my &quot;NewDialog&quot; event.

SerA = &quot;6634&quot; AND SerC = &quot;7982&quot; AND NOT Preselected

-Nate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top