Home > database >  Execution times wrong click data window
Execution times wrong click data window

Time:10-24

String SQDH
SQDH=dw_1. Getitemstring (dw_1 getrow (), 'guanghuidanhao')
Please help analysis

CodePudding user response:

May question 1
No data dw_1

May question 2
Column name error
Guanghuidanhao & lt; - check if there is a typo

May question 3
Column guanghuidanhao is not a string, so can't use getitemString

CodePudding user response:

String SQDH
Int I
Setrow (row)
I=dw_1. Getrow ()
Sle_2. Text=string can normal here (I) shows the number of rows in the data window in the mouse to click

String SQDH
Int I
Setrow (row)
I=dw_1. Getrow ()
SQDH=dw_1. Getitemstring (I, 'guanghuidanhao')//perform here click data window will error

CodePudding user response:

refer to the second floor viking791015 response:
string SQDH
Int I
Setrow (row)
I=dw_1. Getrow ()
Sle_2. Text=string can normal here (I) shows the number of rows in the data window in the mouse to click

String SQDH
Int I
Setrow (row)
I=dw_1. Getrow ()
SQDH=dw_1. Getitemstring (I, 'guanghuidanhao')//perform here click data window will error



String SQDH
Int I
Setrow (row)
If the row & gt; 0 then
SQDH=dw_1. Getitemstring (row, 'guanghuidanhao')//perform here click data window will error
end if
  • Related