13f68 Output To MS-DOS
Sign Up |  Live StatsLive Stats    Articles 37,330| Comments 177,246| Members 19,409, Newest tanu sandhu| Online 444
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Output To MS-DOS

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Query Output with text? dan Information Technology 1 28-Jul-2006 08:28 AM
Output to Spreadsheet millardgroups@gmail.com Information Technology 5 28-Jul-2006 08:14 AM
Getting highest level output MJc215 Information Technology 1 18-Nov-2005 14:00 PM
Limiting output Ernest Lai Information Technology 1 01-Nov-2005 13:40 PM
Output To Using Recordset or Filter SusanV Information Technology 4 27-Oct-2005 08:58 AM


Tags
output, msdos
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 30-Oct-2005, 12:47 PM
Kimberly Franklin's Avatar Kimberly Franklin
Guest
 
Posts: n/a
   
   
Output To MS-DOS

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I recently upgraded my budget database from Access 2000 to Access 2003. Last
year we used an OutputTo command button to export a report and the available
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/6182-output-to-ms-dos.html
formats would appear. MS-DOS was the format we used - being we imported the
result text file into our mainframe. Now that we have upgraded, MS-DOS is no
longer an option. When I select Text Files instead, it is truncating my
figures. I have changed the number formats to Fixed, O - and I double checked
the report layout and the fields are not overlapping and the fields all
appear to be wide enough to fit the figures when reviewing the report. Also,
the fields in the report are all on one row and are aligned. Is there a way
to possibly hard code an export using the MS-DOS format with v. 2003? The
code is using the OutputTo function - Is there a way to Transfer Text as
MS-DOS? It seems that MS-DOS format is the only format that does not truncate
my data. We have another workstation with Access 2000 and the exported file
is working. Any other suggestions? Thanks for any help or suggestions to get
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6182
me searching in the right direction.




Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 30-Oct-2005, 12:47 PM
Albert D.Kallal's Avatar Albert D.Kallal
Guest
 
Posts: n/a
   
   
Re: Output To MS-DOS

  Donate Today!  
"Kimberly Franklin" wrote in
message news:C9BC5587-0B8F-41A0-8BBF-ED003D944582@microsoft.com...
>I recently upgraded my budget database from Access 2000 to Access 2003.
>Last
> year we used an OutputTo command button to export a report and the
> available
> formats would appear. MS-DOS was the format we used - being we imported
> the
> result text file into our mainframe. Now that we have upgraded, MS-DOS is
> no
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6182
> longer an option.


I don't remember a "dos" otpion. In my copy of a2000, I just see "text
files".

So, I not sure what has changed here. Perhaps you prnited the reprot to a
"text printer??

Regarless of the above, I don't see how you succclaryin in the past actauly
exported a "reprot" to a text file that keeps its format correct.
(I not sure what you changed, but a2003 seems to give me the same options as
a2000 - but, it don't matter!!).

You would be MUCH better off exporting a query. With a rerpot, you got all
kinds of "extra" stuff that gets inserted, and minor change in layout can
mess up the "export layout:

Furhter, reprot layouts are based on your installe printers. So, if you
install, or delete, or remove a printer, then often ms-access will try and
"compesnce" for a differnt printer. It is possbiel that the ONLY thing you
change on this pc is the version of office, but if you instllth other
programs, or printers, then some caution is needed here. Furhter, how did
you get rid of page breqaks etc. in this out put reprot?

Lets dump the report idea anyway (I am VERY surprised you got this to work
in the past).

The best, or preferred solution here is to use build a query with the
columns you want. (and, set the sort in the query also). Further, for dates,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6182
and currency, and number fields, you can rely on the table settings, or even
better use some format commands to "force" the query layout.

The result is a PURE clean text file with no "report layout junk" that you
seem to been VERY lucky to somehow avoided in the past...

So, build the query. and then highlight the query, and go file->export. You
can export a fixed width, or a delimited file (it is not clear which you
need).

If you have to, try the advanced button to save/set a export spec. Once you
get this working manually, then you can do this with the "transferText"
command.

And, if the built in export can't give you the file you need, the you can
write some code to produce the text file. At the end of the day, I just
can't see how you can (or could have) got this to work by using a report..

So, you got a number of additional built in options, and if they can't do
the job..they we can write some code. Feel free to ask some more questions,
but give the query idea a try....



--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal


Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Request for assistance...
Today 04:24 AM
8 Replies, 55 Views
Losing My Religion: Why...
Today 03:03 AM
13 Replies, 302 Views
Black Sikhs?
By Alisa
Today 02:52 AM
19 Replies, 5,697 Views
Health Exercise And...
Today 02:10 AM
1 Replies, 68 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 02:10 AM
176 Replies, 4,493 Views
How Religions Change...
Today 02:07 AM
1 Replies, 94 Views
Keeping Amrit Vela
Today 01:57 AM
11 Replies, 876 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:52 AM
313 Replies, 7,570 Views
Man Driving Without...
Today 01:35 AM
4 Replies, 90 Views
Do you believe in...
Today 00:25 AM
192 Replies, 4,013 Views
How does Sikhi help you...
Yesterday 22:54 PM
22 Replies, 882 Views
Panjabi
By Ishna
Yesterday 17:56 PM
12 Replies, 263 Views
Parkash Guru Amar Das ji...
Yesterday 17:07 PM
3 Replies, 40 Views
Serious challenges to...
Yesterday 16:49 PM
0 Replies, 94 Views
Sikh man fights for his...
Yesterday 16:46 PM
0 Replies, 72 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 04:24 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.34309 seconds with 32 queries
0