Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find DataWindow Method Problem 1

Status
Not open for further replies.

girls3dog1

Programmer
Nov 22, 2002
30
US

When I run the following code from a Window open event I receive an error message that says, "Invalid Expression", which I believe is referring to the string value of ls_find_string. (inst_tag is the column name in the datawindow)


ls_find_string = "inst_tag = " + gs_inst_tag
ll_row_found = dw_customer_master_1.Find(ls_find_string, 1, dw_customer_master_1.RowCount())
dw_customer_master_1.ScrollToRow(ll_row_found)
 
if gs_inst_tag is character based I believe you would need this

ls_find_string = "inst_tag = '" + gs_inst_tage + "'"

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top