Re: HMG.3.4.2
Posted: Tue May 24, 2016 12:23 pm
Hello all,
I have some question who knows answer.
In my part of code (see bottom) I needed add command "SELECT JEDNA_A" before command DBSETFILTER because without it I got runtime error "Area not in use". I dont understand it.
Thanks for your answers.
Jozef
I have some question who knows answer.
In my part of code (see bottom) I needed add command "SELECT JEDNA_A" before command DBSETFILTER because without it I got runtime error "Area not in use". I dont understand it.
Code: Select all
use (pracadr+"jedna_a.dbf") index ex_temp alias jedna_a new
sel_val := win_exp_dav_1A.combo_1.value
hodnota = ex_kody_lek[sel_val]
if sel_val > 1
select jedna_a
dbsetfilter({|| lekar = hodnota} , "lekar = hodnota")
else
dbclearfilter()
endif
Jozef