Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Checking data from 2 tables?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 30 September 2011 :  11:42:14  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
Hi,

not to sure how to put this but here we go.

I have somthing like a file manager.

and i need to have a report of who has downloaded each file.

Now what i need to do is list each file that has been uploaded down the left and then list the date/time in which each user has viewed the file.

so each line woudl look liek this:

<filename> | <user1 date/time> | <user2 date/time> | <user3 date/time> | <user4 date/time> etc etc etc

but i am having trouble getting the data to populate.

i have 3 tables

tblUsers
tblFiles
Clicks

Clicks holds the userID, fileID and DateClicked of who ever has clicked

Not sure if this is clear or if anyone can point me in the right direction.

Any help is much appreciated.

© 1999-2010 MaD2ko0l

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 30 September 2011 :  17:15:50  Show Profile  Reply with Quote
You should include at least one field (eg fileid) that is common to your clicks & your tblfiles. With that you can update/retrieve the proper record.

Edited by - Carefree on 30 September 2011 17:16:53
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07