>> use the .Refresh method <<

That assumes that one is using data linked controls. That is not always 
the case:
    examples:
      a date record is displayed/edited  as two separate text boxes 
(i.e. date and time)
      a person's name is stored in the fields: given_name, initial, 
family_name
      the person's name is displayed/edited in a single text box

I have in the past (with VB6) used the control.tag property to hold the 
original unedited text for the control. I have also been known to use 
that information to verify another user had not changed the original 
record prior to processing the update.

On 01/19/2015 07:42 PM, T Lee Davidson wrote:
> Hello Martin,
>
> ...
> To get the datacontrol to display the original data after a canceled edit, 
> use the .Refresh method.
>
>


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to