Hi!
Hi!
Does anyone have an working example of FDEventAlerter?
I have followed the process in http://docwiki.embarcadero.com/RADStudio/XE6/en/Database_Alerts_%28FireDAC%29
But in gives me the error that the primary key of the table FD_Events already exists, and then a general error.
This is my code. The target DB has the Broker enabled
FDConnection1.Connected:=true;
FDEventAlerter1.Names.Text := 'Customers';
FDEventAlerter1.Options.Synchronize := True;
FDEventAlerter1.Options.Timeout := 10000;
FDEventAlerter1.OnAlert := DoAlert;
FDEventAlerter1.OnTimeout := DoTimeout;
FDEventAlerter1.Active := True;
http://docwiki.embarcadero.com/RADStudio/XE6/en/Database_Alerts_%28FireDAC%29
Does anyone have an working example of FDEventAlerter?
I have followed the process in http://docwiki.embarcadero.com/RADStudio/XE6/en/Database_Alerts_%28FireDAC%29
But in gives me the error that the primary key of the table FD_Events already exists, and then a general error.
This is my code. The target DB has the Broker enabled
FDConnection1.Connected:=true;
FDEventAlerter1.Names.Text := 'Customers';
FDEventAlerter1.Options.Synchronize := True;
FDEventAlerter1.Options.Timeout := 10000;
FDEventAlerter1.OnAlert := DoAlert;
FDEventAlerter1.OnTimeout := DoTimeout;
FDEventAlerter1.Active := True;
http://docwiki.embarcadero.com/RADStudio/XE6/en/Database_Alerts_%28FireDAC%29
What database?
ReplyDelete