Home > database >  PB data window
PB data window

Time:09-22

In data window (dw_student) has three column object (student_name, student_no, class), used in student_name DropDownDW to obtain the data

Question 1: in student_name, made Peter, John, Mary, May, Tom, now I want to achieve May in student_name row values, and May show as a focal point, should be how to write in the Pb?

CodePudding user response:

The getitem,
Setfocus
Learn about these two functions

CodePudding user response:

I'm sorry, add

If the student_name data from
The SELECT student_name1, year_old from record. Student_name as diaplay and data column

Student_name1 year_old
Peter 17
May 16
May 17
Tom 19

Same class has 2 May, hope at the same time use student_name1, year_old to search for, find the row value May 17,
Then, the question now is do not know how to use student_name1 year_old as the search key to find May 17 row values?
Dw_student. Scrolltorow (ll_row)
Dw_student. SetColumn (' student_name ')


1/f, please can you give some example, I am a novice, not very clear..


CodePudding user response:

DDDW getchild first, and then just like ordinary dw operations

CodePudding user response:

Positive solution, 3/f you choose bank of China does not want to get the drop-down window other column value, then getchild DDDW corresponding dw, and then for the child to do similar dw operations
  • Related