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 May 12th, 2008, 11:15 AM
Pixy Pixy is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Georgia
Posts: 49 Pixy User rank is Private First Class (20 - 50 Reputation Level)Pixy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 8 h 35 m 56 sec
Reputation Power: 2
Reports - Showing a field in landscape instead of portrait

I have a field called "Questions" that prints four separate values ( I know this field should not be set up like this I didn't create the database). When I run my report the values in this field show up on my report like this, one on top of the other:

Admit Doctor
ER Doctor
Unit
Admit R/N


I would like these values to show on my report like this, one after the other left to right with 5 spaces inbetween each value (this message will not let me show the spaces in between, don't want them running together like it shows when I preview this message):

Admit Doctor ER Doctor Unit Admit R/N

Is there anyway of doing this?

Reply With Quote
  #2  
Old May 12th, 2008, 01:44 PM
dykebert dykebert is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 171 dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 14 h 37 m 46 sec
Reputation Power: 52
So is the Questions field part of the report Detail Section and the 4 values are 4 records (detail x 4)?

Or is that the Questions field has carriage returns so a single Questions field has the 4 values?

Reply With Quote
  #3  
Old May 12th, 2008, 03:34 PM
rpeare rpeare is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2008
Posts: 816 rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 6 Days 3 h 23 m 3 sec
Reputation Power: 172
You posted this question a few weeks ago and we responded to it. Did you try any of the solutions or do you have new information to share?

Thread is here:

<< CLICK HERE >>
__________________
----------------
If we've helped you and you have solved your problem please post that it's been resolved so we know! The suspense kills me!

Last edited by rpeare : May 12th, 2008 at 03:38 PM.

Reply With Quote
  #4  
Old May 13th, 2008, 08:45 AM
Pixy Pixy is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Georgia
Posts: 49 Pixy User rank is Private First Class (20 - 50 Reputation Level)Pixy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 8 h 35 m 56 sec
Reputation Power: 2
Quote:
Originally Posted by rpeare
You posted this question a few weeks ago and we responded to it. Did you try any of the solutions or do you have new information to share?

Thread is here:

<< CLICK HERE >>



No, the solutions did not help. When the nurses enter this information into the tool, each field has it's own data entry field but when the database is downloaded for my use all those fields are put into one field "Questions". It's not as simple as asking them to separate the fields because the database is formatted this way for many different companies. There are no comma's for me to use as a lever to split the fields back into individual fields so I was thinking that instead of these fields showing on my report one under the other I was hoping for a way for them to show on my report one "after" the other so it saves space on my report. It's just a mess because it messes up my counting of the fields inside this "Question" field also. Providing an Access database download is a rather new thing for this company and I'm hoping that this will be corrected in the future.

Reply With Quote
  #5  
Old May 13th, 2008, 09:02 AM
rpeare rpeare is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2008
Posts: 816 rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level)rpeare User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 6 Days 3 h 23 m 3 sec
Reputation Power: 172
Quote:
Can you give an example of what one of these fields looks like before and after you import it into Access? That would really help.


This is from the last thread (posted by me). It is almost impossible to help you if you don't show us what the data looks like there are just too many variables, where spaces are located, are there commas, do the commas mean different things, etc. Post an example of your data and post any rules that the data follows (if you're aware of any).

Remember encapsulate your sample strings in [ code ] [ /code ] markers (remove the spaces between the brackets and the code /code text)

Last edited by rpeare : May 13th, 2008 at 09:20 AM.

Reply With Quote
  #6  
Old May 13th, 2008, 09:03 AM
dykebert dykebert is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 171 dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level)dykebert User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 14 h 37 m 46 sec
Reputation Power: 52
Well based on what you've posted there is a seperator. It is a carriage return and or a line feed.

You'll have to figure out if it's just a carriage return (Chr(13)) a line feed (chr(10)) or a carriage return/line feed (chr(13) & chr(10)). But once you've determined that, the solution is easy.

SELECT <field1>,..., Replace([Questions], Chr(13) & chr(10), space(5)), ...
FROM <table>
...

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Reports - Showing a field in landscape instead of portrait


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


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway