When you open a database using DAO you can refer to fields using recordset.fields("FieldName"). Is it possible to create an array that would use String instead of Integer?
ie;
instead of
I would useCode:ReDim Preserve Marek(1)
and then access it using "Marek" as array index?Code:ReDim Preserve Marek("Marek")




Reply With Quote