I have a table (tblCompanyInfo) with the following Fields:
CompanyID
CompanyName
I want to create a form where I can add Company Names to the table. Easy, yes I know. On the form I want to be able to display 1 text box for input of the Company Name but with the option of adding more than one Company Name if required. The amount of Company Names to be added is not limited. Ideally I would like to have the 1 text box and a button that when clicked will dispaly another text box underneath this, creating a new record in tblCompanyInfo when data is input.
I should add I guess, that the tblCompanyInfo is linked to another table via CompanyID in the other table and the KeyField CompanyID in tblCompanyInfo.
Any suggestions? Is it a show/hide feature? I didn't think so as I need to generate a new record in tblCompanyInfo and also, as the list is not limited, then the amount of text boxes I would show hide would have to be unlimited.
CompanyID
CompanyName
I want to create a form where I can add Company Names to the table. Easy, yes I know. On the form I want to be able to display 1 text box for input of the Company Name but with the option of adding more than one Company Name if required. The amount of Company Names to be added is not limited. Ideally I would like to have the 1 text box and a button that when clicked will dispaly another text box underneath this, creating a new record in tblCompanyInfo when data is input.
I should add I guess, that the tblCompanyInfo is linked to another table via CompanyID in the other table and the KeyField CompanyID in tblCompanyInfo.
Any suggestions? Is it a show/hide feature? I didn't think so as I need to generate a new record in tblCompanyInfo and also, as the list is not limited, then the amount of text boxes I would show hide would have to be unlimited.