Jim, 



Property "component ID" set_focus 'True' 

Property "component ID" SELECTALL 'True' 



Should cause the named component to be selected/highlighted.  When 

you start typing, the existing value (thus the null sign) should go away. 



You will need to put the above Property commands  in the On Key Press EEp. 



It may be that I have the order reversed on the above.  You may need to 

select all first then set focus.  I do not remember which, but if I remember 
correctly, 

it does make a difference.  You can try either way. 



-Bob 



----- Original Message ----- 
From: "Jim Belisle" <[email protected]> 
To: "RBASE-L Mailing List" <[email protected]> 
Sent: Monday, February 22, 2010 11:51:44 AM GMT -06:00 US/Canada Central 
Subject: [RBASE-L] - Re: On Key Press 




Karen, Mike, 



I tried your suggestion on my OKP field and it did not change anything. 

The var vKeyword comes up as a NULL even though I set the var vKeyword = ‘ ‘ 



When I click on the field, I still have to delete the NULL sign. 



Along the same line, I have the following var that are used in both the quote 
and order forms. 



   SET VAR vDistName TEXT = NULL 

   SET VAR vDistAddress TEXT = NULL 

   SET VAR vDistCity TEXT = NULL 

   SET VAR vDistState TEXT = NULL 

   SET VAR vDistZip TEXT = NULL 

   SET VAR vContactName TEXT = NULL 

   SET VAR vDistPhone1 TEXT = NULL 

   SET VAR vDistFax TEXT = NULL 

   SET VAR vDistEMail TEXT = NULL 

   SET VAR vShipName TEXT = NULL 

   SET VAR vShipAddress TEXT = NULL 

   SET VAR vShipCity TEXT = NULL 

   SET VAR vShipState TEXT = NULL 

   SET VAR vShipZip TEXT = NULL 

Most of the times they are filled in automatically because they are lookup 
variables, but sometimes not. 



Which way would be best? 



SET VAR vdistname TEXT 

Or 

SET VAR vdistname TEXT = ‘ ‘ 





Jim 






From: [email protected] [mailto:[email protected]] On Behalf Of 
[email protected] 
Sent: Monday, February 22, 2010 11:35 AM 
To: RBASE-L Mailing List 
Subject: [RBASE-L] - Re: On Key Press 



Do you keep the null set to the default -0- before you bring the form up? 
I never do... maybe you can 
         set null ' '   (space between the quotes) 
before you bring up the form and then set it back to -0- after you exit. 

Karen 





I have an On Key Press form associated with a Variable Radio Group. 

Once one of the boxes on the VRG is checked, the NULL associated with the OKP 
has to be deleted out before starting to type. 

Which property command do I use to make the NULL go away so our people can type 
immediately and not have to delete the NULL manually? 

  

Jim 



Reply via email to