F
fiazbfs
I have a table and I think it is normalized based on other postings I
have read.
There are about 500 object<->value pairs, that needs to be tracked for
500 different objects on every single day of the year. And, all 500
objects should have a value for that day. Object 1-30 is about one
topic, Object 31-60 is about another topic, etc.
tblObjects, I have 500 records like this
(pk) fldObjectID - autonum
fldObjectName - Text 50
tblObjectValues,
(pk) fldDate - Date/Time
(pk) fldObjectID - (fk) to tblObjects
fldObjectValue - integer
Now, I want to show the 500 records of tblObjects in a form (under
different tabs / sections), so that user can go and type in the values
for each of those objects. Just like users will see field labels and
they have to fill in the corresponding value for that field in the
text box.
This is how the form will look like.
/++++++++++++++++++++++++\
lblfldDate: [ 08/09/2007 txtfldDate ]
-----------------------------
[Tab 1] [Tab 2] [Tab 3]
lblObjectName1 [txtObjectValue1]
lblObjectName2 [txtObjectValue2]
....
....
lblCalculatedText [ txtObjectValue2 - txtObjectValue1]
....
\++++++++++++++++++++++++/
How can I achieve this. I know that I can use a datasheet and ask
users to choose ObjectIDs and type in the value in the ObjectValue
column. But, I do not want users to select Object IDs manually. I want
it to show (just like a field name would) and users should just go in
and fill in the blanks for the corresponding date.
Also, if users select manually, they may miss out on some of the
ObjectIDs for that day.
Can someone point me in the right direction to see a sample of this
implemented somewhere or guide me here.
Thanks.
have read.
There are about 500 object<->value pairs, that needs to be tracked for
500 different objects on every single day of the year. And, all 500
objects should have a value for that day. Object 1-30 is about one
topic, Object 31-60 is about another topic, etc.
tblObjects, I have 500 records like this
(pk) fldObjectID - autonum
fldObjectName - Text 50
tblObjectValues,
(pk) fldDate - Date/Time
(pk) fldObjectID - (fk) to tblObjects
fldObjectValue - integer
Now, I want to show the 500 records of tblObjects in a form (under
different tabs / sections), so that user can go and type in the values
for each of those objects. Just like users will see field labels and
they have to fill in the corresponding value for that field in the
text box.
This is how the form will look like.
/++++++++++++++++++++++++\
lblfldDate: [ 08/09/2007 txtfldDate ]
-----------------------------
[Tab 1] [Tab 2] [Tab 3]
lblObjectName1 [txtObjectValue1]
lblObjectName2 [txtObjectValue2]
....
....
lblCalculatedText [ txtObjectValue2 - txtObjectValue1]
....
\++++++++++++++++++++++++/
How can I achieve this. I know that I can use a datasheet and ask
users to choose ObjectIDs and type in the value in the ObjectValue
column. But, I do not want users to select Object IDs manually. I want
it to show (just like a field name would) and users should just go in
and fill in the blanks for the corresponding date.
Also, if users select manually, they may miss out on some of the
ObjectIDs for that day.
Can someone point me in the right direction to see a sample of this
implemented somewhere or guide me here.
Thanks.