Fred, This is just wild speculation - if you are only selecting an item from the drop-down list has it been "remembered" before you leave the combo-box? In other words, do you need to move the focus off and back again?. Maybe even put a (hidden) VarEdit on the form for the same variable?
Regards, Alastair. ----- Original Message ----- From: Fred C Kopp To: RBASE-L Mailing List Sent: Sunday, June 01, 2008 2:17 AM Subject: [RBASE-L] - RE: Capture DBComboBox value in a variable Hi Claudine and thanks I have a routine on a form button that I only want to execute if vSTATUS = M. Any other value for vSTATUS will be rejected and produces a warning PAUSE message. I want the user to be able to change the value of STATUS to M via the combo box, and have the change reflected immediately in the variable vSTATUS. Then the routine can run as intended. All of this must take place while the user is still in the form. I am familiar with GETPROPERTY and PROPERTY but I haven't been able to capture the changed value into a variable while still in the form. I've tried all the EEPs with no success. The question is: can the new value be made available while still in the form? I don't want the user to have to exit and come back in to run the button routine. Hey, thanks for your help. This is really a lot of fun! Fred ----- Original Message ----- From: "Claudine Robbins" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[email protected]> Sent: Saturday, May 31, 2008 8:41 PM Subject: [RBASE-L] - RE: Capture DBComboBox value in a variable Fred, You capture the value with the GETPROPERTY GETPROPERTY <Component ID> TEXTVALUE 'varname' And you change the value with the PROPERTY PROPERTY <Component ID> TEXTVALUE 'value' for a DBLookupComboBox Or use a Variable LookupComboBox to return the user's choice. I'm not sure this is what you are trying to do however. Can you explain? Claudine ________________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Fred C Kopp Sent: Saturday, May 31, 2008 6:59 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Capture DBComboBox value in a variable I have a DB LookupComboBox in a form. I can easily capture the starting value in a variable. I need to be able to change the value and capture the new value while I'm still in the form. Can I do that and, if so, how? I've tried every way but the right way. Thanks Fred Fred C. Kopp Authorized R:Base Developer 19 Teri Lane Washington, PA 15301 P 724-222-7376 F 724-222-7376 C 724-413-5534 E [EMAIL PROTECTED] ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.4/1475 - Release Date: 30/05/2008 14:53

