Database Exchange > Configuration > Using properties > DataUploaded(ByVal Flag As Integer)

Event - DataUploaded(ByVal Flag As Integer)

Description     Fires when the selected row on the displayed table is updated using the values of the associated tags. The value of parameter Flag is 0 when the selected record is updated and 1 when a new record is added to the data source. The following is an example how to implement this event in Cicode where Access is the page name and AN34 is the animation point of the instance of DatabaseExchange.

FUNCTION Access_AN34_DataUploaded(OBJECT This,INT Flag)

STRING sflag

     IF(Flag =0) THEN

          sFlag =" for updating."


          sflag =" for appending."


     Message("Database Exchange", "Data is uploaded"+ sFlag,0);