In my Declarations I have the following:
Private Type RecordName
Type Fieldname1 as string*10
Type Fieldname2 as string*10
End type


In my Sub I have
open "testfile" for random shared as #1 len=len(RecordName)


The "RecordName" should be = to 20, but I get an error instead. So the subroutine is not recognizing the declaration. VB won't allow me to put the
declaration in the Procedure, but it won't recognize it if I put it in the Module level.
I'm obviously missing something very simple. Please help!!!

Thanks