![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
The form will be a main form, not a subform, with its own navigation controls. I already made an analoguous system based on weeks (for renting gŒtes). All of this could be done with continuous subforms and judicious use of outer joins (to a table with records that represent the time slots). |
#22
| |||
| |||
|
|
… unless the 100 repeating controls all run through the same routine for that event, with the control as parameter. And when you need 120 controls you have to change the code that walks through them, after adding the new controls. With the normalized data structure, there's no coding, no editing of forms. I cannot speak for JB, but in my approach: After initial design of the form, there is no editing of the form anymore. The data is normalized in the Job table. This form is a display form, where you have individual control over the Controls in terms of width, height, backgroundcolour, number of slots, number of columns, etc, but you have direct access to the Job table for creating new Jobs, edit them or delete them. |
#23
| |||
| |||
|
|
The form will be a main form, not a subform, with its own navigation controls. I already made an analoguous system based on weeks (for renting gŒtes). All of this could be done with continuous subforms and judicious use of outer joins (to a table with records that represent the time slots). Yes sure, it could... But this approach fits perfectly in my systematics of using meta data on generalized forms. Besides of that, I have far more control over the Controls than in a continuous form (see previous post). |
#24
| |||
| |||
|
|
But if the number of fields in your table changes from, say, 120, to 140, then you have to edit the form. In a properly normalized structure, your form displays 120 before the change, and 140 after, with no design changes to the form at all. |
#25
| |||
| |||
|
|
Maybe we're talking past each other because we're not discussing the same kind of form. I'm discussing the case introduced in this thread (unless I completely overinterpreted the original description of it). |
#26
| |||
| |||
|
|
But if the number of fields in your table changes from, say, 120, to 140, then you have to edit the form. In a properly normalized structure, your form displays 120 before the change, and 140 after, with no design changes to the form at all. I have never that many fields in a table. The maximum is about 30, and that was because it was based on an (existing) not completely normalized table. |
|
There is no "record relation" between the controls, but only some time or space relation, or som other kind of organizational relation. |
#27
| |||
| |||
|
|
imb <im... (AT) onsmail (DOT) nl> wrote innews:ea00504e-a253-4207-81eb-07011c39cb42 (AT) z19g2000yqz (DOT) googlegroups.co m: But if the number of fields in your table changes from, say, 120, to 140, then you have to edit the form. In a properly normalized structure, your form displays 120 before the change, and 140 after, with no design changes to the form at all. I have never that many fields in a table. The maximum is about 30, and that was because it was based on an (existing) not completely normalized table. Well, that may very well be, but the discussion IN THIS THREAD was about a form that had 120 controls, each corresponding to a field (I think -- dunno for sure). The design contemplated was one that would require a change to the form if fields were added, and that's why I'm arguing for a normalized data structure, along with a completely normalized user interface. [] There is no "record relation" between the controls, but only some time or space relation, or som other kind of organizational relation. This can still be done on a form using tables that map metadata, so that you have records displayed that represent data that hasn't yet been entered. Here's a form with ugly colors, but it shows the idea: *http://dfenton.com/DFA/examples/NKF/Meds.jpg There are NO RECORDS for medications recorded for the patient in question. But there are fields ready to accept data (all using outer joins with the table of possible medications to create a single row for each medication). So, there are 28 medications, and 28 rows. When the users need to add medications, they just add them to the table of medications, and this form will then have 29 or 30 or 40 or 100 rows. That's the principle I'm describing. I don't know if it relates to what you're doing or not, which seems to me to be tangential to my understanding of what was being discussed in this thread. -- David W. Fenton * * * * * * * * *http://www.dfenton.com/ contact via website only * *http://www.dfenton.com/DFA/ |
#28
| |||
| |||
|
|
No, the controls on the form are *all* unbound. The (relevant) fields in the table(s) are JobNumber, Engineer, ActionDate, ActionDuration (hrs - but in 15 minute chunks so 1.25 = 1hr 15mins), ActionDescription and a new field ActionStartTime. The last field is the only new field in the existing data. There is other stuff, of course, but these are the relevant fields. |
![]() |
| Thread Tools | |
| Display Modes | |
| |