Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Archive: Business Applications
Tag Cloud
access acer asus batch bios bsod crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard mouse network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications > Archive: Business Applications >
{SOLVED} Access 97 Queries

Reply  
Thread Tools
jrh's Avatar
jrh jrh is offline
Junior Member with 10 posts.
 
Join Date: May 2001
02-May-2001, 11:31 AM #1
I am just really learning Access 97 and am having problems w/ a query that I am trying to run.

I have two tables that I am trying to run a query on.
The first table is a log from the server, which shows the user's ID, video ID accessed, log-in time, log-out time, and total time.
The second table is a video table, which expands upon the video ID to show the title of the video, presenter and total time of the video.

I am trying to generate a query that will run through the server log, looking at each row, specifically pulling out the user ID and total time WHEN a match is seen with the video ID and total time (that is stored in the video table).

I have tried several formats and get different info with the run of each query. I have obviously not written the query correctly.

HELP! Please...

downwitchyobadself's Avatar
Senior Member with 943 posts.
 
Join Date: Oct 2000
02-May-2001, 11:45 AM #2
Hi JR, welcome.

The quick answer to what you're doing is to add the two tables in the query design window (aka QBE), draw a join by clicking and dragging from the VideoID field in the first table (let's call it tblUserVid) list, to the VideoID field in the second table (tblVid, I'll call it), where you release, thus creating what's called an "inner join." (You should see a black line between the two.) This will return only related records between the two tables. Then, you need to set your criteria for the time part. Let's say you add the TotalTime field (whatever you've called it) from tblVid as a field to show. In the same column, on the line marked "criteria", you should put in the following:

=[tblUserVid].[TotalUserTime]

where, obviously, you use your table/field names and not mine.

For more intro stuff on queries in this forum, try this thread:

http://forums.techguy.org/business-applications/41394-ms-access-filtering.html

And if all this still sounds like Greek, well, post back and we'll clear it up. Best of luck.
__________________
complicated music button
jrh's Avatar
jrh jrh is offline
Junior Member with 10 posts.
 
Join Date: May 2001
02-May-2001, 08:59 PM #3
Smile Queries in Access 97
Thanks for the quick response and great tips - downwitchyobadself!!

Wish I had been quicker to pop my mail and see your tip. I actually determined the 'make-table' was not the way to go and I didn't want to use a parameter. So, deleted and started over. Finally got my query working around 2:30 p.m. today. Think it would have been much sooner had I logged back in and seen your reply.

Thank you very much for the advice. I plan to keep your tip and the link that you referenced for any other problems I have with other queries I write!

Awesome response time!!
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:26 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.