There's not really any such thing as an attached file. What is it that you're actually trying to achieve?
Many records where? Do you mean in a database? If so then maybe you should say that. What exactly do you mean by "attach"? You're going to have to provide a proper explanation because, if we have to guess, it will be a big waste of everyone's time if we guess wrong. Your second post sounds rather different to your first so what are we supposed to think?
So, what type of database and what do the "tabs" you mentioned in the first post have to do with it?