Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8914

PowerBuilder 12.5 - Find Function is Killing Me...

$
0
0

Greetings All,

 

I have tried to use the Find function making it as close to the PB help example as possible, but can't make it work.

 

Now trying this, but still not getting desired response (e.g. 0 rows).  Also, I verified that the name of the column in the DW is 'lname'.

 

Any tips would be appreciated!!

 

Thanks!!

 

Paul

 

long ll_found

long rows

rows = dw_1.rowcount()

 

string ls_search_expr

ls_search_expr = "lname = " + '"' + lname_find + '"'

messagebox("ls_search_expr", ls_search_expr)

 

//DISPLAYS: lname = "murray"

 

ll_found = dw_1.Find(ls_search_expr, 1, rows)

 

messagebox("ll_found",string(ll_found))

dw_1.scrolltorow(ll_found)


Viewing all articles
Browse latest Browse all 8914

Trending Articles