How do I programmatically change a reference priority in the Tools - References dialogue box?
P Perico Apr 26, 2004 #1 How do I programmatically change a reference priority in the Tools - References dialogue box?
K Karl E. Peterson Apr 26, 2004 #2 Perico said: How do I programmatically change a reference priority in the Tools - References dialogue box? Click to expand... By not relying on the order, and explicitly qualifying each call? <g>
Perico said: How do I programmatically change a reference priority in the Tools - References dialogue box? Click to expand... By not relying on the order, and explicitly qualifying each call? <g>
K Karl E. Peterson Apr 27, 2004 #3 Perico said: I'm not clear what you mean by "explictly qualifying each call". Could you give me an example? In my case, when the reference to DAO in the dialogue box is below (i.e. a lower priority) than the reference to ADO, I get an error in the DAO code. Click to expand... Yeah, that was a vague description, sorry. You need to qualify the conflicting object reference so the proper library is used. For example, instead of: Dim rs As Recordset use: Dim rs As DAO.Recordset Later... Karl
Perico said: I'm not clear what you mean by "explictly qualifying each call". Could you give me an example? In my case, when the reference to DAO in the dialogue box is below (i.e. a lower priority) than the reference to ADO, I get an error in the DAO code. Click to expand... Yeah, that was a vague description, sorry. You need to qualify the conflicting object reference so the proper library is used. For example, instead of: Dim rs As Recordset use: Dim rs As DAO.Recordset Later... Karl