FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Startin in programming FWH
Posts: 23
Joined: Wed May 07, 2008 02:50 PM
Startin in programming FWH
Posted: Fri Jul 25, 2008 01:27 PM

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

Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
Startin in programming FWH
Posted: Fri Jul 25, 2008 01:41 PM
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:

( 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
Posts: 23
Joined: Wed May 07, 2008 02:50 PM
Startin in programming FWH
Posted: Fri Jul 25, 2008 02:21 PM

Hi JC!

Thank you for your answer. It works fine.

regards

Ali

Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
Startin in programming FWH
Posted: Fri Jul 25, 2008 02:42 PM

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

Continue the discussion