Hi guys, I have started playing with an external Database and can't work out how to create a new row.
I can modify a row using this code without a problem.
code : Tbl_PBSH_BLEcho_CodeTables;
dict : Tbl_PBSH_BLEcho_CodeTablesDict;
begin
create dict;
code := dict.getAtKey ('codeCode');
code.codeDescription := 'codeDescription';
code.codeShortName := 'codeShortName';
code.update;
But when trying to create a new row there is no create method
code : Tbl_PBSH_BLEcho_CodeTables;
dict : Tbl_PBSH_BLEcho_CodeTablesDict;
begin
create dict;
//create code transient; //"these don't work"
//create code;
code.code := 'codeCodeNew';
code.codeDescription := 'codeDescription';
code.codeShortName := 'codeShortName';
code.update;
Does anyone know how this should be coded?
Cheers, H