W
wrldruler
I've got a form that will be used to budget project costs for 60
months. I've got a tab interface that looks like a grid:
M1 M2 .... M60
HW Cost:
SW Cost:
....
Other Cost:
So there are 6 types of Costs x 60 months = 360 textboxes. I am happy
with the form. Code is effecient, I just iterate through the texboxes
using Controls and For, Next loops.
Right now the textboxes are Unbound, and the data is not being saved
anywhere. How do I save this data into a normalized table? I do NOT
want to bind these 360 textboxes into 360 table fields.
I want my table to look like this:
Project_ID
Cost_Type
Month
Value
Question #1: How do I save? How do I take data contained in 360
textboxes stretching horizontally across the screen, and save it into a
table that is only 4 rows across?
Question #2: How do I do the reverse? If I want to pull this data up
later using the same 360 textbox form, how do I read the data and put
them in the correct places on the form?
Thanks!
months. I've got a tab interface that looks like a grid:
M1 M2 .... M60
HW Cost:
SW Cost:
....
Other Cost:
So there are 6 types of Costs x 60 months = 360 textboxes. I am happy
with the form. Code is effecient, I just iterate through the texboxes
using Controls and For, Next loops.
Right now the textboxes are Unbound, and the data is not being saved
anywhere. How do I save this data into a normalized table? I do NOT
want to bind these 360 textboxes into 360 table fields.
I want my table to look like this:
Project_ID
Cost_Type
Month
Value
Question #1: How do I save? How do I take data contained in 360
textboxes stretching horizontally across the screen, and save it into a
table that is only 4 rows across?
Question #2: How do I do the reverse? If I want to pull this data up
later using the same 360 textbox form, how do I read the data and put
them in the correct places on the form?
Thanks!