>Error #31 >Message: Invalid subscript reference. >Code: dimension loFieldCollection.aTables[lnCursors, 2] >Line #: 38 >Method: sfrfieldmetadata.fillcollection >It sounds like lnCursors is 0. You'll have to trace the code earlier in that method to see why that's the case.