Subject | Re: Post_Event with 2 parameters |
---|---|
Author | Kevin Herrmann |
Post date | 2004-02-29T15:19:23Z |
From: Yossi Zaig <yle@...>
concatenate the messages with a separator? Seems like the first part will be
defined by you and will be a limited set of values. Then add the latter part.
So, use an integer or short string, a separator, and then the table+record ID.
Some examples:
POST_EVENT 'TableUpdate' || '/' || 'Customers-12345'
POST_EVENT 'TU' || ':' || 'Customers-12345'
POST_EVENT '3' || '-' || 'Customers-12345'
Then parse event text in app.
Kevin
> Subject: Post_Event with 2 parametersYossi, unsure of the length limitations on POST_EVENT but couldn't you just
>
> Using FB 1.5 / Delphi 7 / FIBPlus.
>
> Is it possible to send 2 parameters with Post event,
> I am looking for way to notify the client that some table was updated and
> which record for example:
> POST_EVENT 'TableUpdate', 'Customers-12345'
>
concatenate the messages with a separator? Seems like the first part will be
defined by you and will be a limited set of values. Then add the latter part.
So, use an integer or short string, a separator, and then the table+record ID.
Some examples:
POST_EVENT 'TableUpdate' || '/' || 'Customers-12345'
POST_EVENT 'TU' || ':' || 'Customers-12345'
POST_EVENT '3' || '-' || 'Customers-12345'
Then parse event text in app.
Kevin