Filip Brnic
Programmer
A question, i have txt boxes that have no control source, and in them i store numeric values from 1-5
When i finish inserting values in those 1-17 textboxes, i want that data to be saved, the problem is i need multiple tables and its all in 1 form, basically i have a button that creates each table in the form itself, now the question is, can i just change the control source of the textboxes by doing something like (lcTableName + "." + lcFieldName) and then appending the values? because what im trying to do is have those textboxes store the information, so when i make a new table via form, and then have to store the information again, i wanna be able to just have those textboxes interactivelly change their control sourcers, so basically i want a text3 to store information of a table ExampleTable, and then when i click on a command to change the ControlSource it should display the values of it?
I dont know if you guys understand, ill explain 1 more way just in case
command button makes a table appends blank 17 times, selects the textboxes and gives them all a controlsource (idk how to do that),then when i store the information, i just click the other command button (insert) that would then store the values in textboxes inside the table itself by doing this
go top
replace examplefield with thisform.text1
go 2 replace examplefield with thisform.text2 etc etc.
so now i have multiple command buttons that all need their own controlsource since all of them create a table and need the same process to be done.
When i finish inserting values in those 1-17 textboxes, i want that data to be saved, the problem is i need multiple tables and its all in 1 form, basically i have a button that creates each table in the form itself, now the question is, can i just change the control source of the textboxes by doing something like (lcTableName + "." + lcFieldName) and then appending the values? because what im trying to do is have those textboxes store the information, so when i make a new table via form, and then have to store the information again, i wanna be able to just have those textboxes interactivelly change their control sourcers, so basically i want a text3 to store information of a table ExampleTable, and then when i click on a command to change the ControlSource it should display the values of it?
I dont know if you guys understand, ill explain 1 more way just in case
command button makes a table appends blank 17 times, selects the textboxes and gives them all a controlsource (idk how to do that),then when i store the information, i just click the other command button (insert) that would then store the values in textboxes inside the table itself by doing this
go top
replace examplefield with thisform.text1
go 2 replace examplefield with thisform.text2 etc etc.
so now i have multiple command buttons that all need their own controlsource since all of them create a table and need the same process to be done.