Dear All,
I hope someone can help explain why i can achieve the following at design time but not at runtime.
I enter text into a textbox txtEntry on a form frm_MainForm
e.g. enter abcd then click a command button to execute some code with the following effect:
A new column "abcd" is added to a table tbl_mytable
A label lbl_MyLabel with caption = "abcd" is added to form myForm
A textbox txt_myTextBox with controlsource = "abcd" is added to form myForm
This all works just fine when i run the form in designtime but not runtime
I won't post code at this step as i'm probably overlooking something simple like "You Can't Do this at Runtime"
Thanks
I hope someone can help explain why i can achieve the following at design time but not at runtime.
I enter text into a textbox txtEntry on a form frm_MainForm
e.g. enter abcd then click a command button to execute some code with the following effect:
A new column "abcd" is added to a table tbl_mytable
A label lbl_MyLabel with caption = "abcd" is added to form myForm
A textbox txt_myTextBox with controlsource = "abcd" is added to form myForm
This all works just fine when i run the form in designtime but not runtime
I won't post code at this step as i'm probably overlooking something simple like "You Can't Do this at Runtime"
Thanks