06-26-2020, 11:34 PM
Hi Guys
3 code sample requests that will be invaluable for people reading this forum
Request 1 :Could you help with a code sample to create new records from a datagrid into livecloud please? So Basically you just take each column in the datagrid and create a record in the livecloud table.
each row of the datagrid will correspond to a livecode key.
Request 2 :Also batch updating records that are in a datagrid where 1 key is is common to records in the table you are updating (in the absence of the cdbRecordID row) for example, you have a key called "code" which you want to use to figure out the records that need updating.
Request 3: Batch Updating tables from a grid where the cdbRecordID exists and is a named column in the datagrid. So here you just want to update records that already exist in a datagrid .
Basically its the opposite of reading data and putting it into a datagrid. The Ying to the Yang...
Will appreciate the assist. Request 1 being the most important
Sid
3 code sample requests that will be invaluable for people reading this forum
Request 1 :Could you help with a code sample to create new records from a datagrid into livecloud please? So Basically you just take each column in the datagrid and create a record in the livecloud table.
each row of the datagrid will correspond to a livecode key.
Request 2 :Also batch updating records that are in a datagrid where 1 key is is common to records in the table you are updating (in the absence of the cdbRecordID row) for example, you have a key called "code" which you want to use to figure out the records that need updating.
Request 3: Batch Updating tables from a grid where the cdbRecordID exists and is a named column in the datagrid. So here you just want to update records that already exist in a datagrid .
Basically its the opposite of reading data and putting it into a datagrid. The Ying to the Yang...
Will appreciate the assist. Request 1 being the most important
Sid