473,378 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Tiered database help

I'm trying to create a database, thought I knew how I was going to do
it, and found it won't work. Hoping some expert on here can steer me
along the right path.

I need to provide my users with a form for data entry. My hierarchy
is: Job > Location > Activity > Hours. So one Job may have several
Locations, each Location may have several Activities, and one Activity
may have several Hours.
From a table standpoint I think I'm good. I have my one-to-many

relationships built for each table. My plan was to have a bunch of
subforms. I'd build a form for Activites, default view set to
Continuous Forms. Then imbed it as a subform on my Location form,
again setting that form's default view to Continuous Forms. I didn't
have to get very far before Access started cutting me off, telling me:

"You can't view a form as a continuous form if it contains a subform,
an ActiveX control or a bound chart."

So back to square one. I need to provide my users a form for input.
It's fine if it displays just one Job at a time. But on that Job
screen, they need to input multiple Locations, multiple activities for
each location, and multiple Hours for each Activity. If there is a
better way to approach this, I'm all ears....

Feb 2 '06 #1
1 1771

<ia**********@hermanmiller.com> wrote in message
news:11********************@g49g2000cwa.googlegrou ps.com...
I'm trying to create a database, thought I knew how I was going to do
it, and found it won't work. Hoping some expert on here can steer me
along the right path.

I need to provide my users with a form for data entry. My hierarchy
is: Job > Location > Activity > Hours. So one Job may have several
Locations, each Location may have several Activities, and one Activity
may have several Hours.
From a table standpoint I think I'm good. I have my one-to-many

relationships built for each table. My plan was to have a bunch of
subforms. I'd build a form for Activites, default view set to
Continuous Forms. Then imbed it as a subform on my Location form,
again setting that form's default view to Continuous Forms. I didn't
have to get very far before Access started cutting me off, telling me:

"You can't view a form as a continuous form if it contains a subform,
an ActiveX control or a bound chart."

So back to square one. I need to provide my users a form for input.
It's fine if it displays just one Job at a time. But on that Job
screen, they need to input multiple Locations, multiple activities for
each location, and multiple Hours for each Activity. If there is a
better way to approach this, I'm all ears....


With a little VBA code, not necessarily "clever code", you can include a
command button on each subform to "Enter/edit <whatever's the next level in
the hierarchy>" change that continuous form's view to single form view, and
make its subform visible. You can create a "Back" button to reverse the
order.

Alternatively, you could pop up forms instead of using Subforms.

Larry Linson
Microsoft Access MVP
Feb 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David | last post by:
Hi all, I am looking to do a little brainstorming. I am beginning to switch my mrogram over from a client/server architecture to a multi-tiered architecture. Since this is pretty much a...
6
by: Charles Law | last post by:
This is going to seem like a basic OO question, but it comes up and bites me every now and again. Suppose we have a multi-tiered protocol to implement, what is the logical, OO way to design the...
687
by: cody | last post by:
no this is no trollposting and please don't get it wrong but iam very curious why people still use C instead of other languages especially C++. i heard people say C++ is slower than C but i can't...
2
by: Thrasher Remailer | last post by:
Using the example at http://www.w3schools.com/dhtml/tryit.asp?filename=trydhtml_menu10 as a base, how can I extend this code to handle tiered ( cascading ) pulldowns? For example, hovering...
2
by: Ken Ross | last post by:
I'm in the early stages of working up the design for a large .Net web application and want to make sure that we have the best possible physical architecture to support the logical architecture and...
2
Bob Ross
by: Bob Ross | last post by:
I am trying to get a better understanding of the three tiered architecture and would like some help clarifying the interaction between classes and structure. The Presentation layer - is easy it is...
1
by: Cirene | last post by:
Do you have any good book recommendations for learning Entity Framework, DAAB, and/or Tiered Architecture (business objects, etc)? I am a VB.net developer, but C# would be ok I guess.... Thanks
2
by: spima05 | last post by:
Hello I am trying to create a database to calculate commissions on a sale based on a tiered commission schedule and am having trouble with how to design the tables and relationships to store the...
12
by: spima05 | last post by:
Hello I am developing a database to calculate commissions on a sale for each rep involved in the same and their uplines. Below is the database structure and the commissions schedule. I am...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.