![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all several years ago I bumped up against the max no. of controls permitted on a form (around 750 I seem to remember). Does anyone know if this still applies in A2010? Can't find anything useful in Help. I'm building a Time Sheet form - unbound with unbound controls - that needs 15 minute slots from 6am to midnight for a full (7 day) week and this equates to around 970 controls! I have just lost a couple of hours graft because the form corrupted when saved ... I was doing regular saves of the form but not copying the whole mdb. Big mistake! JB |
#3
| |||
| |||
|
|
Don't know if the limit is still the same (754?), but you can use sub-forms with multiple controls. *A sub-form is one control on a form. So you might try using 7 sub-forms (one for each weekday). *Each sub-form can have up to 754 controls. *I would think that once you have one daily form created, you could save it as another daily form. Then add the daily forms as sub-forms to your main form. John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County On 4/27/2011 11:10 AM, jbguernsey wrote: Hi all several years ago I bumped up against the max no. of controls permitted on a form (around 750 I seem to remember). *Does anyone know if this still applies in A2010? *Can't find anything useful in Help. I'm building a Time Sheet form - unbound with unbound controls - that needs 15 minute slots from 6am to midnight for a full (7 day) week and this equates to around 970 controls! *I have just lost a couple of hours graft because the form corrupted when saved ... I was doing regular saves of the form but not copying the whole mdb. *Big mistake! JB |
#4
| |||
| |||
|
|
Don't know if the limit is still the same (754?), but you can use sub-forms with multiple controls. A sub-form is one control on a form. So you might try using 7 sub-forms (one for each weekday). Each sub-form can have up to 754 controls. I would think that once you have one daily form created, you could save it as another daily form. Then add the daily forms as sub-forms to your main form. John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County On 4/27/2011 11:10 AM, jbguernsey wrote: Hi all several years ago I bumped up against the max no. of controls permitted on a form (around 750 I seem to remember). Does anyone know if this still applies in A2010? Can't find anything useful in Help. I'm building a Time Sheet form - unbound with unbound controls - that needs 15 minute slots from 6am to midnight for a full (7 day) week and this equates to around 970 controls! I have just lost a couple of hours graft because the form corrupted when saved ... I was doing regular saves of the form but not copying the whole mdb. Big mistake! JB |
#5
| |||
| |||
|
|
I'm reasonably sure, from more years experience in application software development that I like to admit, that once you had to maintain/enhance that system, you would wish to High Heaven that you'd used something simpler than a form with nearly a thousand controls, each of which has to be accessed via VBA code. I also suspect that having such a form likely indicates some database design issues, or you'd be dealing with the database itself in a different, simpler way... even if the users are accustomed to a paper form with many, many entries, it will pay to simplify life for both them and you, if you create a normalized database and deal with it in a simpler way. *Larry Linson *Microsoft Office Access MVP "jbguernsey" <j... (AT) angelsystems (DOT) co.uk> wrote in message news:6a883ced-74d4-4ce0-85a5-16a7a42b67e9 (AT) gu8g2000vbb (DOT) googlegroups.com... On Apr 27, 4:56 pm, John Spencer <JSPEN... (AT) Hilltop (DOT) umbc> wrote: Don't know if the limit is still the same (754?), but you can use sub-forms with multiple controls. A sub-form is one control on a form. So you might try using 7 sub-forms (one for each weekday). Each sub-form can have up to 754 controls. I would think that once you have one daily form created, you could save it as another daily form. Then add the daily forms as sub-forms to your main form. John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County On 4/27/2011 11:10 AM, jbguernsey wrote: Hi all several years ago I bumped up against the max no. of controls permitted on a form (around 750 I seem to remember). Does anyone know if this still applies in A2010? Can't find anything useful in Help. I'm building a Time Sheet form - unbound with unbound controls - that needs 15 minute slots from 6am to midnight for a full (7 day) week and this equates to around 970 controls! I have just lost a couple of hours graft because the form corrupted when saved ... I was doing regular saves of the form but not copying the whole mdb. Big mistake! JB Thanks John. Subforms is probably a good idea. *I was hoping to avoid the extra 'overhead' of having to refer to controls on subforms. *False economy, it looks like. JB |
#6
| |||
| |||
|
|
I'm reasonably sure, from more years experience in application software development that I like to admit, that once you had to maintain/enhance that system, you would wish to High Heaven that you'd used something simpler than a form with nearly a thousand controls, each of which has to be accessed via VBA code. |
|
I also suspect that having such a form likely indicates some database design issues, or you'd be dealing with the database itself in a different, simpler way... even if the users are accustomed to a paper form with many, many entries, it will pay to simplify life for both them and you, if you create a normalized database and deal with it in a simpler way. |
#7
| |||
| |||
|
|
On Apr 27, 6:48 pm, "Access Developer" <accde... (AT) gmail (DOT) com> wrote: I'm reasonably sure, from more years experience in application software development that I like to admit, that once you had to maintain/enhance that system, you would wish to High Heaven that you'd used something simpler than a form with nearly a thousand controls, each of which has to be accessed via VBA code. I also suspect that having such a form likely indicates some database design issues, or you'd be dealing with the database itself in a different, simpler way... even if the users are accustomed to a paper form with many, many entries, it will pay to simplify life for both them and you, if you create a normalized database and deal with it in a simpler way. Larry Linson Microsoft Office Access MVP "jbguernsey" <j... (AT) angelsystems (DOT) co.uk> wrote in message news:6a883ced-74d4-4ce0-85a5-16a7a42b67e9 (AT) gu8g2000vbb (DOT) googlegroups.com... On Apr 27, 4:56 pm, John Spencer <JSPEN... (AT) Hilltop (DOT) umbc> wrote: Don't know if the limit is still the same (754?), but you can use sub-forms with multiple controls. A sub-form is one control on a form. So you might try using 7 sub-forms (one for each weekday). Each sub-form can have up to 754 controls. I would think that once you have one daily form created, you could save it as another daily form. Then add the daily forms as sub-forms to your main form. John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County On 4/27/2011 11:10 AM, jbguernsey wrote: Hi all several years ago I bumped up against the max no. of controls permitted on a form (around 750 I seem to remember). Does anyone know if this still applies in A2010? Can't find anything useful in Help. I'm building a Time Sheet form - unbound with unbound controls - that needs 15 minute slots from 6am to midnight for a full (7 day) week and this equates to around 970 controls! I have just lost a couple of hours graft because the form corrupted when saved ... I was doing regular saves of the form but not copying the whole mdb. Big mistake! JB Thanks John. Subforms is probably a good idea. I was hoping to avoid the extra 'overhead' of having to refer to controls on subforms. False economy, it looks like. JB Hi Larry. I agree. Unfortunately I'm not able to think of any reasonable way to allow the client to have the functionality he requires with the existing structure ... at least, not with the budget that applies - and I don't want to walk away, there's too strong a relationship between us. I've looked at much of the time sheet stuff that's around but it doesn't fit well enough. Client needs various engineers to be able to enter what they call Job Action data (a Job may have several different activities in it) into an existing database using 15 minute time slots. The existing structure was not set up with this kind of thing in mind and it's too late to make major changes. It's one of those 'I wouldn't start from here' situations that occasionally develop when a system is required to be extended into areas it was never intended to get into! I can't blame the original designer - it was me - but the system was originally meant to be a quick and crude, very low-cost, limited, temporary solution to be used until the (new) business settled down and time and money could be allocated to a properly designed system (and not by me). After nearly 20 years developing using Access I should have known better! I've lost count of the number of times I've told myself not to listen to the Client about this sort of thing - and yet I *still* find myself falling into the same old trap. I guess I'm just a hopeless case! I'll bite the bullet and use 7 subforms (John's suggestion) and put it down to experience ... and *try* to learn from it (yet again). Thanks for the input. JB |
#8
| |||
| |||
|
| "jbguernsey" <jeff (AT) angelsystems (DOT) co.uk> wrote in message news:b7a28aa3-4d64-4501-a03b-34593afdb485 (AT) dn9g2000vbb (DOT) googlegroups.com... On Apr 27, 6:48 pm, "Access Developer" <accde... (AT) gmail (DOT) com> wrote: I'm reasonably sure, from more years experience in application software development that I like to admit, that once you had to maintain/enhance that system, you would wish to High Heaven that you'd used something simpler than a form with nearly a thousand controls, each of which has to be accessed via VBA code. I also suspect that having such a form likely indicates some database design issues, or you'd be dealing with the database itself in a different, simpler way... even if the users are accustomed to a paper form with many, many entries, it will pay to simplify life for both them and you, if you create a normalized database and deal with it in a simpler way. Larry Linson Microsoft Office Access MVP "jbguernsey" <j... (AT) angelsystems (DOT) co.uk> wrote in message news:6a883ced-74d4-4ce0-85a5-16a7a42b67e9 (AT) gu8g2000vbb (DOT) googlegroups.com... On Apr 27, 4:56 pm, John Spencer <JSPEN... (AT) Hilltop (DOT) umbc> wrote: Don't know if the limit is still the same (754?), but you can use sub-forms with multiple controls. A sub-form is one control on a form. So you might try using 7 sub-forms (one for each weekday). Each sub-form can have up to 754 controls. I would think that once you have one daily form created, you could save it as another daily form. Then add the daily forms as sub-forms to your main form. John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County On 4/27/2011 11:10 AM, jbguernsey wrote: Hi all several years ago I bumped up against the max no. of controls permitted on a form (around 750 I seem to remember). Does anyone know if this still applies in A2010? Can't find anything useful in Help. I'm building a Time Sheet form - unbound with unbound controls - that needs 15 minute slots from 6am to midnight for a full (7 day) week and this equates to around 970 controls! I have just lost a couple of hours graft because the form corrupted when saved ... I was doing regular saves of the form but not copying the whole mdb. Big mistake! JB Thanks John. Subforms is probably a good idea. I was hoping to avoid the extra 'overhead' of having to refer to controls on subforms. False economy, it looks like. JB Hi Larry. I agree. Unfortunately I'm not able to think of any reasonable way to allow the client to have the functionality he requires with the existing structure ... at least, not with the budget that applies - and I don't want to walk away, there's too strong a relationship between us. I've looked at much of the time sheet stuff that's around but it doesn't fit well enough. Client needs various engineers to be able to enter what they call Job Action data (a Job may have several different activities in it) into an existing database using 15 minute time slots. The existing structure was not set up with this kind of thing in mind and it's too late to make major changes. It's one of those 'I wouldn't start from here' situations that occasionally develop when a system is required to be extended into areas it was never intended to get into! I can't blame the original designer - it was me - but the system was originally meant to be a quick and crude, very low-cost, limited, temporary solution to be used until the (new) business settled down and time and money could be allocated to a properly designed system (and not by me). After nearly 20 years developing using Access I should have known better! I've lost count of the number of times I've told myself not to listen to the Client about this sort of thing - and yet I *still* find myself falling into the same old trap. I guess I'm just a hopeless case! I'll bite the bullet and use 7 subforms (John's suggestion) and put it down to experience ... and *try* to learn from it (yet again). Thanks for the input. JB You could create a table structure that would allow you to use bound controls. Then export the changes to the live data when the record is saved. I've used this concept a few times and it really helps keep the input form |
#9
| |||
| |||
|
|
"ron paii" <none (AT) nospam (DOT) com> wrote in message news:ipbkvb$872$1 (AT) dont-email (DOT) me... "jbguernsey" <jeff (AT) angelsystems (DOT) co.uk> wrote in message news:b7a28aa3-4d64-4501-a03b-34593afdb485 (AT) dn9g2000vbb (DOT) googlegroups.com... On Apr 27, 6:48 pm, "Access Developer" <accde... (AT) gmail (DOT) com> wrote: I'm reasonably sure, from more years experience in application software development that I like to admit, that once you had to maintain/enhance that system, you would wish to High Heaven that you'd used something simpler than a form with nearly a thousand controls, each of which has to be accessed via VBA code. I also suspect that having such a form likely indicates some database design issues, or you'd be dealing with the database itself in a different, simpler way... even if the users are accustomed to a paper form with many, many entries, it will pay to simplify life for both them and you, if you create a normalized database and deal with it in a simpler way. Larry Linson Microsoft Office Access MVP "jbguernsey" <j... (AT) angelsystems (DOT) co.uk> wrote in message news:6a883ced-74d4-4ce0-85a5-16a7a42b67e9 (AT) gu8g2000vbb (DOT) googlegroups.com... On Apr 27, 4:56 pm, John Spencer <JSPEN... (AT) Hilltop (DOT) umbc> wrote: Don't know if the limit is still the same (754?), but you can use sub-forms with multiple controls. A sub-form is one control on a form. So you might try using 7 sub-forms (one for each weekday). Each sub-form can have up to 754 controls. I would think that once you have one daily form created, you could save it as another daily form. Then add the daily forms as sub-forms to your main form. John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County On 4/27/2011 11:10 AM, jbguernsey wrote: Hi all several years ago I bumped up against the max no. of controls permitted on a form (around 750 I seem to remember). Does anyone know if this still applies in A2010? Can't find anything useful in Help. I'm building a Time Sheet form - unbound with unbound controls - that needs 15 minute slots from 6am to midnight for a full (7 day) week and this equates to around 970 controls! I have just lost a couple of hours graft because the form corrupted when saved ... I was doing regular saves of the form but not copying the whole mdb. Big mistake! JB Thanks John. Subforms is probably a good idea. I was hoping to avoid the extra 'overhead' of having to refer to controls on subforms. False economy, it looks like. JB Hi Larry. I agree. Unfortunately I'm not able to think of any reasonable way to allow the client to have the functionality he requires with the existing structure ... at least, not with the budget that applies - and I don't want to walk away, there's too strong a relationship between us. I've looked at much of the time sheet stuff that's around but it doesn't fit well enough. Client needs various engineers to be able to enter what they call Job Action data (a Job may have several different activities in it) into an existing database using 15 minute time slots. The existing structure was not set up with this kind of thing in mind and it's too late to make major changes. It's one of those 'I wouldn't start from here' situations that occasionally develop when a system is required to be extended into areas it was never intended to get into! I can't blame the original designer - it was me - but the system was originally meant to be a quick and crude, very low-cost, limited, temporary solution to be used until the (new) business settled down and time and money could be allocated to a properly designed system (and not by me). After nearly 20 years developing using Access I should have known better! I've lost count of the number of times I've told myself not to listen to the Client about this sort of thing - and yet I *still* find myself falling into the same old trap. I guess I'm just a hopeless case! I'll bite the bullet and use 7 subforms (John's suggestion) and put it down to experience ... and *try* to learn from it (yet again). Thanks for the input. JB You could create a table structure that would allow you to use bound controls. Then export the changes to the live data when the record is saved. I've used this concept a few times and it really helps keep the input form simple and fast. I can strongly recommend it. But if I could add one tit bit of experience on my recent project. In the smarts that map to a fro between the normalised SQL tables and the bound temporary work table - my most recent project finds the live records through a composite key of about 12 fields.(these values get scraped off various fields on the input form) This has caused me no end of grief getting the routines just right. If I had the chance to do it all over again - for every input field in the temporary table/input form, I would carry next to it, hidden, the unique id field pointing back in to the real record. Sure this is doubling up the number of fields - but now that you are using a bound form instead of many many unbound cells, you are still miles ahead. PS - synchronising back to the live table when the user performs multiple line deletes against the work table is a pain in the butt - you have to queue deletes up from every call to the "on delete" event and then process them in the "delete confirmed" event Tony Epton I like adding a key for the live data. |
#10
| |||
| |||
|
|
I agree. Unfortunately I'm not able to think of any reasonable way to allow the client to have the functionality he requires with the existing structure ... at least, not with the budget that applies - and I don't want to walk away, there's too strong a relationship between us. |
![]() |
| Thread Tools | |
| Display Modes | |
| |