Startin in programming FWH

Startin in programming FWH

Postby ali » Fri Jul 25, 2008 1: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
ali
 
Posts: 23
Joined: Wed May 07, 2008 2:50 pm
Location: Austria

Postby JC » Fri Jul 25, 2008 1: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:

Code: Select all  Expand view
( 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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

Postby ali » Fri Jul 25, 2008 2:21 pm

Hi JC!

Thank you for your answer. It works fine.

regards

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

Postby JC » Fri Jul 25, 2008 2: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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests