Bernie
  Will this help
 
  SET VAR VSSN1 TEXT
  SET VAR VSSN TEXT
  dial 'Enter SSN' VSSN1 =9 VEndKey 1 AT 10
   IF (SLEN(.VSSN1)) <> 9 THEN
     PAUSE 2 USI 'Invalid SSN'
     Do what ever you want here
  ENDIF
  SET VAR VSSN = ((SGET(.VSSN1,3,1))+'-'+(SGET(.VSSN1,2,4))+'-'+(SGET(.VSSN1,4,6)))
 
 Buddy

 
 
 
-----Original Message-----
From: Bernard Lis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 1:15 PM
To: [EMAIL PROTECTED]
Subject: format in dialog box 6.5++ win

Since I haven't seen any comments on this - I don't know if my original message cam thru.
 
I want to automatically insert the dashes in a social security number or a phone no. when entering into a dialog box.
This is because the user is used to using the numeric keypad without the -
 
Bernie Lis
Megabytes, Inc.

Reply via email to