Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a VBA macro that is getting an array of data from an Access
database. I use this code to retrieve the data: Set rs = db.OpenRecordset("Select Age,Layer from Factors where LOB ='" & Rnames(j) & "';") [error testing] DBRecord = rs.GetRows(30) The module it resides in has Option Base 1 at the top. However the array DBRecord that it returns has an Option Base of 0. This becomes very confusing as the array is then passed as an argument to a function that is entirely set up as Option Base 1, yet now inside it this one array has a different Option Base. Is there some elegant solution other than rewriting the function and converting it to Option Base 0? Don <donwiss at panix.com. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel user enter a store # to query Access data base | Excel Discussion (Misc queries) | |||
prevent reading or any access to selected cells | New Users to Excel | |||
Chart connected to an Access data base | Charts and Charting in Excel | |||
Access data base is able to store any number of records | Excel Worksheet Functions | |||
MS Excel data reading in MS Access | Excel Discussion (Misc queries) |