Re: Too many queries

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Duane Hookom (duanehookom_at_NoSpamHotmail.com)
Date: 10/26/04


Date: Tue, 26 Oct 2004 16:35:59 -0500

What is your current table structure(s)? What you want to see on a
form/screen/report should never drive how your tables are structured.

-- 
Duane Hookom
MS Access MVP
--
"Somecallmejosh" <anonymous@discussions.microsoft.com> wrote in message 
news:1b2a01c4bb91$84ee2c70$a301280a@phx.gbl...
> Hello,
>
> Situation:  I am setting up a database for a dance
> studio.  One of my tables pertains to scheduling.  There
> are three studios, and there are three classes taught in
> the evening every afternoon.  I have my class scheduling
> table set up so that it pulls in the teacher name and
> class name (lookups).... additional fields would include
> each day of the week [Monday], [Tuesday], etc... as
> yes/no...  [Studio] for each day and [Time of class] for
> studio for each day.  Yes, lots of variables for each
> given day.  I have it set up this way because it allows
> me to group all class information together.  As opposed
> to splitting the classes on multiple forms, this way
> allows me to select all pertinent information on one form
> (I hope this makes sense).
>
> This forces me into a difficult situation however,
> whenever setting up a query to show the time, studio,
> teacher, and student enrollment(from [Student] table), in
> each class, based off of the studio and time class is
> taught.  Because there are nine possibilities for class
> and studio time combinations I have been forced to create
> 45 different queries, and generate 45 different reports
> (classes are 5 days a week).  I can't do a parameter
> query on the studio becuase there are three studio
> occurences associated with three different time
> possibilities for 5 days worth of classes.  I have
> obviously approached this from the wrong angle.  Is there
> a better alternative in terms of a parameter query or do
> I need to restructure my table?
>
> I'm sure this is old hat, but is there a better way to
> set up my table and queries to accomodate for the
> scheduling of classes, instructors, and students; for
> three different time periods, three different studios,
> over the course of 5 days? 


Relevant Pages

  • Too many queries
    ... studio. ... One of my tables pertains to scheduling. ... whenever setting up a query to show the time, studio, ... teacher, and student enrollment, in ...
    (microsoft.public.access.queries)
  • Different results in Query (SQL Server 2005) with PHP and Management Studio
    ... I have a query here that gives the right results in SQL Management ... Studio but wrong results in PHP (using mssql libraries under FreeBSD ...
    (comp.lang.php)
  • Re: Query Tool...
    ... I think it was mentioned on the other post too but we use Aqua Data Studio. ... Thanks for the replies from the group RE: Server Studio. ... I was wondering if there is a query tool, ...
    (comp.databases.informix)
  • Re: VS 2005 MS SQL server express query problem
    ... Pull the query out of the command object after it has concatenated all of the bits together. ... Then run that code in Express Studio and see what you get. ... Next, get rid of the concatenation altogether and truly parameterized, as I can do the following with yours ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: WMI Query against remote machine. Access issues
    ... ManagementObjectSearcher(scope, query); ... When I add my username to the local admin group on the remote computer ... full rights to my user to root, and I have also given my user DCOM ...
    (microsoft.public.win32.programmer.wmi)