Startin in programming FWH

Post Reply
ali
Posts: 23
Joined: Wed May 07, 2008 2:50 pm
Location: Austria

Startin in programming FWH

Post by ali »

Hello!

My name is Aljoscha. I'm beginning in programming FWH. At the start I have a question to FILTER. I have a Database, so I need a Filter to get certain infos form the Database. How can I resolve this problem?

Thank you for your help.

Regards
Ali
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

Post by JC »

Hi friend!

Are you using a database with a DBF file?
Or are you using with a database server like mysql?

If you using with a DBF file... try this:

Code: Select all

( cAlias )->( dbSetFilter( {|| dbf_field == search_value }, "dbf_field == search_value" ) )
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
ali
Posts: 23
Joined: Wed May 07, 2008 2:50 pm
Location: Austria

Post by ali »

Hi JC!

Thank you for your answer. It works fine.

regards

Ali
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

Post by JC »

Wonderful.
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Post Reply