Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 28th, 2004, 08:25 PM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Creating Reports

This is my first database. I have created 2 tables and forms to enter data into these tables. Now I am trying to create reports to view the data the way I want. I am hoping someone can help.

My first table consists of the client list. Second table contains records of the clients Dr. visits, dates and issue. This table will have several records for each client and will be added to as time goes. Tables are linked by there SSAN's.

I want to create a report where I can select any client I want and it will show all the records just for that client on the printout. It would also be great if I could select a particular date range to view and print for an individual client.

The report I created shows each seperate record in table 2 on a different page. I want the clients name at the top and then all dates and issues for that client under that.

It would be great if someone could explain how to do this. I would greatly appreciate it. After I get the report creating figured out, I should be able to do it all(tables, forms, and reports).

Thank You,

Chad

Reply With Quote
  #2  
Old January 30th, 2004, 09:26 AM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 5
Create a form with a combo box and two text box.
Form combo box
row source type - your first table name
row source = clientlist field

set two textbox data type to date.

put one command button for previewing a report.
Create a query with details of second table something like this

Select * from secondtable
where clientID = forms!yourformname!combox and datefield between
forms!yourformname!BeginDatefieldtextboxname and
DateAdd("S",86399,forms!yourformname!EndDatefieldtextboxname)

Create a tabular report using wizard using above saved query as record
source and save it.

now put the following command in your forms preview command button.
docmd.openreport yourreportnameinquotes, acViewPreview.

Now it will work. I hope i am clear. All the best.

Reply With Quote
  #3  
Old February 2nd, 2004, 06:02 PM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
I am going to give that a try and see how it turns out. I may be back for more.

Thanks,

Chad

Reply With Quote
  #4  
Old February 8th, 2004, 07:15 PM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Unhappy

Can someone please explain this in better terms that a new Access user will be able to understand? I sure would appreciate it.

Thank You,

Chad

Reply With Quote
  #5  
Old February 10th, 2004, 09:48 AM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 5
If you can send your MDB zipped with the tables you have defined with some data I will finish it and send it to you. Please also mention whether it is Access97 or Access2000.

Quote:
Originally Posted by CEVisker
Can someone please explain this in better terms that a new Access user will be able to understand? I sure would appreciate it.

Thank You,

Chad
__________________
V.Subramanian

Reply With Quote
  #6  
Old February 10th, 2004, 01:59 PM
maljosh maljosh is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: London
Posts: 23 maljosh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
you could use a much easier method of just creating diffirent queries... eg a queary where you have Date()-7 criteria in date field, all it does shows all the records for last week, and so on...

Reply With Quote
  #7  
Old February 10th, 2004, 07:50 PM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Quote:
Originally Posted by supersubra
If you can send your MDB zipped with the tables you have defined with some data I will finish it and send it to you. Please also mention whether it is Access97 or Access2000.



I really wish I could, but there are peoples SSAN's in the database and I cannot make those public.

Chad

Reply With Quote
  #8  
Old February 10th, 2004, 08:04 PM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 5
you can post the mdb with dummy data and dummy table structures. You need not post the original one.

Reply With Quote
  #9  
Old February 10th, 2004, 08:56 PM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Quote:
Originally Posted by supersubra
you can post the mdb with dummy data and dummy table structures. You need not post the original one.


supersubra:

The original is 1.5MB in size. I made a copy of it, then deleted all the data and added couple dummy records. The copy is the same size as the original with all the data gone. To me, this does not make sense. I used Winzip to bring it down to 400kb, so I am not able to upload over 100kb. Why is the copy the same size?

Thanks,

Chad

Reply With Quote
  #10  
Old February 10th, 2004, 09:52 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
You need to compact your DB,

Tools, Database Utilities, Compact

Access likes to hold on to empty space

S-

Reply With Quote
  #11  
Old February 11th, 2004, 08:45 AM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Quote:
Originally Posted by sbaxter
You need to compact your DB,

Tools, Database Utilities, Compact

Access likes to hold on to empty space

S-



I have it compacted and zipped down to 104kb. Is there a way to get rid of that empty space?

Thanks,

Chad

Reply With Quote
  #12  
Old February 11th, 2004, 03:45 PM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Anyway to upload a 108KB file?

Thanks,

Chad

Reply With Quote
  #13  
Old February 11th, 2004, 04:20 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Create yourself a free FTP site with Yahoo Breifcase and upload it there. The send a private message to supersubra telling him you username and password so he can get it and look at it.


S-

Reply With Quote
  #14  
Old February 12th, 2004, 08:56 PM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 5
I have made some modifications in table structure, primary key etc and created a data entry form and report selector form which will serve all your requirements and will work as a full fledged application. If you think I have overdone it just ignore.
Attached Files
File Type: zip MedicalHistory.zip (87.6 KB, 234 views)

Reply With Quote
  #15  
Old February 12th, 2004, 09:16 PM
CEVisker CEVisker is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 52 CEVisker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to CEVisker Send a message via Yahoo to CEVisker
Thumbs up

Quote:
Originally Posted by supersubra
I have made some modifications in table structure, primary key etc and created a data entry form and report selector form which will serve all your requirements and will work as a full fledged application. If you think I have overdone it just ignore.


Thanks a million!!! I am going to study this and try to figure out how you did that. I appreciate you taking the time to do this, not many people would offer such a thing!!!

Thanks,

Chad

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Creating Reports


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump