you must set a pointer to that openrecordset command. I've never done this in LabVIEW, but I've found once you get an algorithm down recreating it in LabVIEW just means you have to think about it a little.
rec = database.openrecordset("SELECT * FROM table;");
Do While NOT rec.eof
debug.print rec("fieldname1")
debug.print rec("fieldname2")
debug.print rec("fieldnameetc")
rec.movenext
Loop
rec.close
database.close
So the openrecordset function passes a pointer to a recordset object that has methods for moving around and outputting the data.
-nic