View Single Post
  #15 (permalink)  
Old 06-10-2010, 01:06 PM
nl1007 nl1007 is offline
Junior Member
 
Join Date: Jul 2009
Location: Derbyshire, UK
Posts: 36
Default ReadFieldsParameter(1) error

I'm trying to get a list of the fields in a table, and after opening the table with a "Select *.." statement, I use:
Dim Fields(0)
...
Fields() = = objADO.ReadFieldsParameter(1)
But I get an error "Array types do not match".
I tried specifying a string array, but get the same error. Since the same function returns the field count, field names, or field values, then the array must work with different types of return values..

I wish there was some English help and examples!
Reply With Quote