Page 1 of 1
Offline Example LREX0301
Posted: Tue Feb 25, 2014 10:15 am
by soapagent
In this example in the SEND_ALL section the command
#Com_Owner.Set_DatabaseTable Tablenumber(1) Deleteuntouchedrows(True)
is issued. If we've just downloaded these records surely they are all unaltered and will thus be deleted immediately?
Re: Offline Example LREX0301
Posted: Tue Feb 25, 2014 11:08 am
by Mark_Dale
The DeleteUnTouchedRows property does this:
The server program can tell the client to delete all rows that are not included in the set being sent. In effect this clears the client table and then fills it with the new data.
Re: Offline Example LREX0301
Posted: Tue Feb 25, 2014 3:24 pm
by soapagent
Thanks Mark. Is there a user manual or documentation update coming?
Re: Offline Example LREX0301
Posted: Tue Feb 25, 2014 3:56 pm
by Mark_Dale
Not in the immediate future.
But if you put the cursor on the lansa source code at Set_DatabaseTable
in
#Com_Owner.Set_DatabaseTable TableNumber(1) DeleteUntouchedRows(True)
and press F2, you can get the help for all the parameters on Set_DatabaseTable by clicking on each parameter.