Home > database >  Pb set setfilter doesn't work
Pb set setfilter doesn't work

Time:10-24

To achieve the data window, select a department in addition dynamic filter out a list of the personnel to choose
Ldw_data. Getchild (" ygbh ldw_ygzd)
Ls_filter="BMBH='" + ls_bmbh +"' "
Ldw_ygzd. Setfilter (ls_filter)
Ldw_ygzd. Filter ()
Ls_filter assignment 1=1 or 1 & gt; 2 when this statement was a success, is set up where is wrong? Seek guidance

CodePudding user response:

Take a look at this dropdown data window BMBH fields, or a field name before and prefix

CodePudding user response:

Code no big problem, the key is this code in any event the matter with you? Events can trigger?
Ldw_data. Getchild (" ygbh ldw_ygzd)
Ls_filter="BMBH='" + ls_bmbh +"' "
Ldw_ygzd. Setfilter (ls_filter)
Ldw_ygzd. Filter ()

CodePudding user response:

Setfilter () before use messagebox (' ', ls_filter) check your filter expressions is correct,

CodePudding user response:

BMBH is null, or Numbers,
Solutions can also be reference upstairs
  • Related