Board index » delphi » Record Filter and user input

Record Filter and user input

Hello,

Just trying to filter records in a table which is part of a report.  I
need the user to enter a value and then this value will be used to
filter the table during runtime.

Thanks

 

Re:Record Filter and user input


On Wed, 21 Jan 1998 00:40:42 GMT, tleal...@samoatelco.com (Tepa)
wrote:

Quote
>Hello,

>Just trying to filter records in a table which is part of a report.  I
>need the user to enter a value and then this value will be used to
>filter the table during runtime.

>Thanks

You can set the TTable's Filter property at runtime based on user
input. This is the example from the online help:

State = 'CA' or State = 'MA'

You will have to construct the string yourself, but then you just
assign the property.

Steve F (Team B)

Other Threads