Jat421 Posted June 13, 2012 Posted June 13, 2012 Hi, How can I pass the count from the _Query() to MsgBox() $i = _Query($sql, "select count(link_no) from temp_tbl") With $i $a = .GetRows EndWith MsgBox(0,'Count',$a)
jdelaney Posted June 13, 2012 Posted June 13, 2012 (edited) count will only return one row, so to .getrows isn't the way. Try .value or maybe it's .fields(0).Value i forget, but one should work Edited June 13, 2012 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now