||Re: Detecting a change in a txtbox on a form- #13996 in section 
||(29) VFX english
--from Newsreader at Mittwoch, 13. Juni 2018; 04:39:32--
I solved the problem by creating a new variable to hold the initial data
right at the start of my coding and that has solved it.
Still wondering if there a better way of doing what I am doing using the VXF
if ccommandbutton is the same as commandbutton
"David Phillips" wrote in message news:741393...
--from Newsreader at Dienstag, 12. Juni 2018; 05:28:06--
The VFXOBJ has a ccommandbutton and a ccomandgroup. The cmdbuttons in the
ccommandgroup do not use buttons from VFX (ccommandbutton) but
commandbutton. I am not sure if this may have any impact on what I am trying
to do. Perhaps there is no difference between ccommandbutton and
I want to detect any change in a number of text boxes on a cData form eg
T.Directions = 1 tds changed to 1 qid. Noting that change I want to run
some subsequent code.
I thought to use scatter to save all when the command button is clicked and
later compare eg M.Directions with T.Directions
I set up a hot key to call a PRG procedure to exit the edit with
I disable the tabs on the form and enable the txt boxes I want to allow to
edit the form then
when the hot key is pushed I check M.Directions and finish with
called from a Procedure in a PRG file
then I disable the txt boxes and re-enable the forms Tabs.
I am trying to capture that one of the tracked fields has changed but the
m.Directions value is often lost . Sometimes it isn't lost other times it is
and I cannot work out why.
VFX somewhere tracks that a field has changed perhaps I can tap into that as
my strategy sometimes works and sometimes doesn't and I cannot work out why.