Dec 13, 2001 #1 Frank72 Technical User Nov 13, 2001 57 IE hows it going? Set Rst1 = CustDb.OpenRecordset("SELECT firstName , secondname , a1 , a2 , customerid From dbo_tblcustomer" & "ORDER BY firstname", dbSeeChanges) error msg "invalid argument" any help appreciated thanks frank
hows it going? Set Rst1 = CustDb.OpenRecordset("SELECT firstName , secondname , a1 , a2 , customerid From dbo_tblcustomer" & "ORDER BY firstname", dbSeeChanges) error msg "invalid argument" any help appreciated thanks frank
Dec 13, 2001 1 #2 Mossoft Programmer Sep 12, 2001 127 EU Set Rst1 = CustDb.OpenRecordset("SELECT firstName , secondname , a1 , a2 , customerid From dbo_tblcustomer" & " ORDER BY firstname", ,dbSeeChanges) dbSeechanges is an "Options" value not a "Type" value so has to be third parameter. Also probably need space between "dbo_tblCustomer" and "ORDER". M. Upvote 0 Downvote
Set Rst1 = CustDb.OpenRecordset("SELECT firstName , secondname , a1 , a2 , customerid From dbo_tblcustomer" & " ORDER BY firstname", ,dbSeeChanges) dbSeechanges is an "Options" value not a "Type" value so has to be third parameter. Also probably need space between "dbo_tblCustomer" and "ORDER". M.