ZephyrTR 0 Newbie Poster

Hi everyone,
I am a newbie both on this forum and Borland C++ and hope you can help me to figure out the problems which I encountered during my project.

Here we go,
I wrote a program that reads SysLog messages and store it in a database.These log messages are highlighted to the user by means of DBGrid, Datasource and Table controls.

My aim is to write a filter for the table dataset which searches the log messages and only shows the entries which include this keyword.To make myself clear,suppose that our keyword is "whitepearl" and we want to show only the entries in DB that includes this keyword(3rd and 5th one)

I tried to use " LOG = '*%s*' " as a table filter expression with two wildcards but it didn't worked.What am I doing wrong?

LOG
1)ZepyhR sent a message to Cedric.
2)System alert on #2334
3)Logging to the whitepearl
4)Retrieval of the tuple id
5)OK from whitepearl
6)Hangout by sender

Note: Borland Builder v.5 is used

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.