Saturday, April 19, 2014

wf_retrieve (ls_txt) Try this.


If you select the ddlb_job rank queries are to be made, but let's rank. 1. Ddlb_job If you select the Position -> ddlb_job.selectionchanged event 2, but the query is selected so that the rank -> wf_retrieve control function described in SelectionChanged PowerScript event occurs when an item is selected, double-click the control selectionchanged ddlb_job immediately opened the event. Position selected (items) to put you in the function argument receives the wf_retrieve.
selectionchanged (integer index) is the order of the items in the index. When you select an item in the first one is over ANALYST coming CLERK If you select the second item which is beyond the coming two expressions. This section does not use the index. ddlb_job.text the ddlb_job Gets the text of the selected item. This is the argument put doeneungeojyo wf_retrieve. Try this place ... like the screen. If you select a grade to grade, but you can see that query. Once you have selected the ranks, where once the Temple of selected grades of all employees, but not to the query can not be viewed. rediffmail allows you to select the entire ddlb_job Let's rank. Open your w_list.open events. dw_emp.SetTransObject rediffmail (sqlca)
Apparently 'All' item at the bottom of the first to be put neunde??? rediffmail If you check ddlb_job This is the Sorted property. Because rediffmail of the size of the alphabet Hangul phenomenon is more. First, if the Sorted property rediffmail to add the items checked off, so come on 'All' item is brought to the top. 'm Sure you can see the execution. Every now run the program, so when you run the query ddlb_job all employees of the 'whole' What if an item is automatically selected as? w_list.open event ... dw_emp.SetTransObject (sqlca)
'All' item is selected, all the employees are viewed as much more natural to doeeoteuni. However, 'whole' no query was not haebomyeon select items. If the argument is 'complete''m in because the argument is '%' when resolved. What should I do? 'm Various methods. ddlb_job.selectionchanged following modifications to open the event. string ls_txt
wf_retrieve (ls_txt) Try this. 'All' is selected, all the employees are queried. You know, I got a different way. Ddlb_job.selectionchanged one event following modifications to the script. / / / / String ls_txt / / / / ls_txt = ddlb_job.text / / / / if ls_txt = 'All' then / / ls_txt = '%' / / end if / / / / wf_retrieve (ls_txt)
wf_retrieve (trim (right (ddlb_job.text, 10))) / / With this modification, the ddlb_job on 'All%' did you add this item. '%' Will try to take advantage of. right (ddlb_job.text, 10) as long as 10 characters from the ddlb_job.text gets to the right. Position 10 is larger than the largest of a string of numbers. Caught him roughly. right (ddlb_job.text, 10) As a result rediffmail of the '%' 'ANALYST' 'CLERK' ... so get. '%' In the space of nine or more. Otherwise, the 'full' contains the string section muffles. '%' Is used to get rid of the space character. rediffmail So I used the trim. Try running.
What? % Portion is visible. Heh heh no space to put you solve with you? w_list.open event ddlb_job.AddItem ('all%') is part of the whole and add more space between the% is. ddlb_job.AddItem ('all%') rediffmail It seems ignorant heh heh. So, Try the following:. ddlb_job.AddItem ('all' + space (30) + '%') space fills as many spaces as a function of the argument. Executed.
"[River] Beginners PowerBuilder (Windows OS + Oracle) 'category PowerBuilder other posts (PowerBuilder) Lecture - 37.SetFilter & Filter method (DataWindows) (5) 2011/11/19 PowerBuilder (PowerBuilder) Lecture - 36. Adding Retrieval Argument to DataWindow (14) 2011/11/15 PowerBuilder (PowerBuilder) Lecture - 35.SelectionChanged PowerScript event (DropDownListBox) (5) 2011/11/13 PowerBuilder (PowerBuilder) Lecture - 34.DropDownListBox control (6) PowerBuilder rediffmail 2011 (PowerBuilder) rediffmail Lecture - 33.Adding Parameter to Window Object Function (2) 2011/11/07 PowerBuilder (PowerBuilder) Lecture - 32.Object Function (Window) (3) 2011/11/04
Name
Keommaeng escape (1)
Sinseonbong 's Blog is powered by Daum / Designed by Tistory

No comments:

Post a Comment