That is a good workaround. I was thinking the same thing. I was hoping on something that would not allow not numeric entries in the dialog box.
Dan From: [email protected] [mailto:[email protected]] On Behalf Of Buddy Walker Sent: Wednesday, June 15, 2016 12:13 PM To: [email protected] Subject: RE: [RBASE-L] - Dialog format mask numbers and decimals Dan Since the format mask will not work for you then I maybe something like this. Buddy __________________code starts here LABEL Start SET VAR V1 DOUBLE = NULL SET ERROR MESSAGE 480 OFF DIAL 'Enter number (ex. 48.54)' v1=10 vendkey 1 SET ERROR MESSAGE 480 ON IF v1 = 0 or v1 IS NULL THEN PAUSE 2 USI ' Invalid number entered' GOTO Start ENDIF ----------------------------code ends here From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Dan Goldberg Sent: Wednesday, June 15, 2016 2:06 PM To: [email protected]<mailto:[email protected]> Subject: RE: [RBASE-L] - Dialog format mask numbers and decimals Thx buddy. It sort of works but looks weird with the spaces. [cid:[email protected]] Dan Goldberg From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Buddy Walker Sent: Wednesday, June 15, 2016 10:58 AM To: [email protected]<mailto:[email protected]> Subject: RE: [RBASE-L] - Dialog format mask numbers and decimals Dan Try something like this SET VAR v1 DOUBLE DIALOG 'Enter your number here||999999.00' v1=10 vEndKey 1 Buddy From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Dan Goldberg Sent: Wednesday, June 15, 2016 1:46 PM To: [email protected]<mailto:[email protected]> Subject: [RBASE-L] - Dialog format mask numbers and decimals I need to have a dialog box that only allows numbers and the decimal. I am thinking the format option will work but am confused on if it will. Has anybody done this or have any ideas? TIA Dan Goldberg -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

