Hi
Found Out that in Lazarus 1.42 ( Stable ) i get Errors trying to insert or Update a entry:
I use this Code to “create” a entry:
procedure TDM_hotel.tbl_hotelAfterInsert(DataTable: TDADataTable);
var
NewGUID : TGUID;
begin
if (tbl_hotel_CanInsert) then
begin
with tbl_hotel do
begin
CreateGUID(NewGUID);
FieldByName('ID').AsString:=GUIDToString(NewGUID); // Generate GUID
FieldByName('C_NO').AsString:=camp_no;
FieldByName('U_NO').AsInteger:=gideon_no;
FieldByName('L_UPDATE').AsDateTime := now;
FieldByName('STAT_DEL').AsString:=('0');
end;
end;
end;
And i get the Error:
A problem occured while updating a record in table "hotel", record "{C5F1F4FF-1440-4428-A76F-725BAA5E16AA}"
Fatal error encountered during command execution.
I_RPL@LOCAL is not a valid component name
Any Help on this Topic?
Manfred