Random Access Files without UDT's
I am using Random File Access and I want each record to be defined like this
Key as Integer
Name as string * 50
DOB as date
SSN as string * 11
Is there a way I can define each record without using a User Defined Type? Is there a way I could use a collection instead or some other method? As far as I know the only way to do this is by using a UDT.
I don't know much about random file access but...
you could create a class module and add that to a collection.
Keep in mind that Dictionaries are much faster than collections and with a dictionary you check if a Key exists or not.