Thanks to everybody who responded.
 
It would appear that the "best" method is to pre-define the variable for the value to be retained in and to use quotes around it:
 
In the calling program or one of the form start EEPs:
SET VAR vTemp TEXT = NULL
 
In the using EEP:
GETPROPERTY IDV_SelName TEXTVALUE 'vTemp'
And now I have a confession to make: I was trying to use a Variable Edit instead of a DBEdit. Naturally, changing it solved my problem. However, the obvious question arises: is this technique to be available for other controls soon?
 
Apologies & regards,
Alastair.
 
----- Original Message -----
Sent: Tuesday, March 29, 2005 12:21 AM
Subject: [RBG7-L] - GetProperty TEXTVALUE problem

Please could somebody give me the definite method for getting the value of a DBEdit value using GETPROPERTY?
 
I've tried defining the variable for the result first, not defining it, using quotes around the name - every variation that I can think of but I can't get it to work.
This is my current version:
 
CLEAR VAR vTemp
SET VAR vTemp TEXT
GETPROPERTY IDV_SelName TEXTVALUE 'vTemp'
Thanks in advance,
Regards,
Alastair.
 
----------------------------------
A D B Burr,
St. Albans, UK.
----------------------------------
[EMAIL PROTECTED]
----------------------------------

Reply via email to