473,398 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How to make a query that looks like a report with different groupings

23
Hope you had a good Thanksgiving!! I am stumped. I am trying to make a query that looks like the report with different groupings but one that is exportable to a delimited txt file. In my case a header of several fields a body of continuous records and a trailer of footer. I then need to export it to delimted txt with the separator being *. A simplified version would be like this:
The header is Mdb*x432*date*>*
The detail is a loop with rcds like:
rcd1*date*id*srv*address**rcd2*date*id*srv**rcd3*d ate*id*srv*
and a trailer like tr*date

Everything is exported to delimted txt and should look like the following.
Mdb*x432*date*>*rcd1*date*id*srv*address**rcd2*dat e*id*srv**rcd3*date*id*srv*tr*date

I have made union queries trying to compensate for different # of fields by concatenating them but when exporting they maintain the same number of columns in the delimited file as the query even without wordwrap on in wordpad. I hope this is clear. I am getting desparate- any suggestions are greatly appreciated. Alan
Nov 23 '07 #1
1 1201
allj
23
I think I can do this with a crosstabqry. If not I will get back to you. Thanks anyway. Alan
Nov 23 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: David | last post by:
This might be a report question but I think it is more a query issue than a report. I am a novice at bothAccess reporting and queries and have been struggling to build the following. (Note using...
4
by: Oreo Bomb | last post by:
I have a secured database that contains a Read-Only group. This group has permissions to view reports, but cannot add, edit, or delete any DB objects. One of the reports the group needs access to...
5
by: Sean Byrne | last post by:
We have a Microsoft Access 2000 database consisting of 20 tables covering 20 different events. In each table, there are 3 Team members, a date of the event and several unique fields for the event,...
3
by: Janross | last post by:
I'm having trouble with a query that's prohibitively slow. On my free-standing office computer it's fine (well, 2-4 seconds), but on the client's network, it takes at least 5 minutes to run. ...
0
by: Sal | last post by:
Hi, I have a table in which I performed all of my complex calc's so I can have a simple report to sub total and group. My report works fine except for the footers. I have groupings by city and...
3
by: Bart Swisher | last post by:
I have a database I am building that is for a police department. On the report I need it to display the following information: Date of Incident, Offense discription, Narrative, Offender/s,...
1
by: jnikle | last post by:
I have a parameter query named "qry_employee_info_reports" that I need to run in the OnOpen event of a form. I'm after its total number of records. The query's got several joins in it, and one of...
1
by: hylander | last post by:
My apologies for what to many of you will probably seem a simple problem. I have a number of queries which result in numerical answers. Is it possible to have access total these for a report. The...
4
by: dancole42 | last post by:
So I have an invoicing database based on two main forms: Orders and OrderLines. Orders has fields like: OrderID BillingMethod OrderDate CreditCard CCExp OrdSubTotal ShippingCharge
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.