Offline Example LREX0301

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Offline Example LREX0301

Post 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?
Mark_Dale
Posts: 61
Joined: Thu Apr 19, 2012 11:06 am

Re: Offline Example LREX0301

Post 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.
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Re: Offline Example LREX0301

Post by soapagent »

Thanks Mark. Is there a user manual or documentation update coming?
Mark_Dale
Posts: 61
Joined: Thu Apr 19, 2012 11:06 am

Re: Offline Example LREX0301

Post 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.
Post Reply