Hello,
I encounter a problem that I cannot solve myself...
The problem is the following:
I make a table: several records: the first field is always a number,
the following field is always an address
When I make a query based on the numbers, the result (rapport) is
listed in the way it was entered in the table, it is not listed in the
way I enter it in the query.
But I need it to be shown in the order of the query.
I hope you understand my problem, if not, please leave a message so I
can explain it to you in a different way
Thank you very much for your help
Philippe 4 1451
Philippe wrote: Hello,
I encounter a problem that I cannot solve myself...
The problem is the following:
I make a table: several records: the first field is always a number, the following field is always an address
When I make a query based on the numbers, the result (rapport) is listed in the way it was entered in the table, it is not listed in the way I enter it in the query.
But I need it to be shown in the order of the query.
I hope you understand my problem, if not, please leave a message so I can explain it to you in a different way
Thank you very much for your help
Philippe
Are you sorting the query. Open up the query in design view. From the
menu select View/SQL. Do you see an ORDER BY in the SQL? If so, write
back and try to describe the problem with more detail. If you don't see
OrderBy, select View/Design and you'll see a row called Sort. Click on
that row for the fields you want sorted.
If the fields are in the order of ID, DateField, CountField but you want
to sort it by CountField, DateField you need to
1) switch the order or
2) drag down CountField and DateField...in the order you want sorted...,
click the Show checkbox off, and set the Sort row for the fields in Asc
or Desc order.
On 23 Jun 2004 08:54:50 -0700, p.******@jcp.be (Philippe) wrote: Hello,
I encounter a problem that I cannot solve myself...
The problem is the following:
I make a table: several records: the first field is always a number, the following field is always an address
When I make a query based on the numbers, the result (rapport) is listed in the way it was entered in the table, it is not listed in the way I enter it in the query.
But I need it to be shown in the order of the query.
I hope you understand my problem, if not, please leave a message so I can explain it to you in a different way
Thank you very much for your help
Philippe
This is a report? If so then use the reports sorting and grouping
feature to select the field you want to order by.
- Jim
If you want the report to look like the query, then base the report
off the query, not the table. Also, you shouldn't be entering things
in a query...forms are usually used for data entry...
good luck
"Jim Allensworth" <ji****@Notdata centricsolution s.com> wrote in message news:<40******* **********@news .west.earthlink .net>... On 23 Jun 2004 08:54:50 -0700, p.******@jcp.be (Philippe) wrote:
Hello,
I encounter a problem that I cannot solve myself...
The problem is the following:
I make a table: several records: the first field is always a number, the following field is always an address
When I make a query based on the numbers, the result (rapport) is listed in the way it was entered in the table, it is not listed in the way I enter it in the query.
But I need it to be shown in the order of the query.
I hope you understand my problem, if not, please leave a message so I can explain it to you in a different way
Thank you very much for your help
Philippe This is a report? If so then use the reports sorting and grouping feature to select the field you want to order by.
- Jim
Huh? I assume you weren't responding to me.
As I mentioned, forget about how the query returns records and use the
reports Sorting and Grouping to provide the order.
I wonder where you got the idea about *entering* data - in forms,
queries or whatever.
- Jim
On 23 Jun 2004 17:34:16 -0700, va***@hotmail.c om (Enterprise) wrote: If you want the report to look like the query, then base the report off the query, not the table. Also, you shouldn't be entering things in a query...forms are usually used for data entry...
good luck
"Jim Allensworth" <ji****@Notdata centricsolution s.com> wrote in message news:<40******* **********@news .west.earthlink .net>... On 23 Jun 2004 08:54:50 -0700, p.******@jcp.be (Philippe) wrote:
>Hello, > >I encounter a problem that I cannot solve myself... > >The problem is the following: > > >I make a table: several records: the first field is always a number, >the following field is always an address > > >When I make a query based on the numbers, the result (rapport) is >listed in the way it was entered in the table, it is not listed in the >way I enter it in the query. > > >But I need it to be shown in the order of the query. > > >I hope you understand my problem, if not, please leave a message so I >can explain it to you in a different way > > >Thank you very much for your help > >Philippe This is a report? If so then use the reports sorting and grouping feature to select the field you want to order by.
- Jim This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Xenophobe |
last post by:
I have successfully converted the ASP code included in the following article
to PHP:
http://www.4guysfromrolla.com/webtech/040100-1.shtml
As described the high and low latitudes and longitudes are pre-calculated
and passed to the query.
SELECT *
FROM Locations
|
by: Jeff Blee |
last post by:
I hope someone can help me get this graph outputing in proper order.
After help from Tom, I got a graph to display output from the previous
12 months and include the average of that output all in the one graph.
The output was in the order of the months, but after unioning with the
averages SQL code, the order is lost. Below is the full sql code that
is the data source for the graph:
SELECT (Format(.,"mmm"" '""yy")) AS Month,...
|
by: kaosyeti |
last post by:
i have a (hopefully) small problem. i have created a system where a user
enters customer information into a table through a form. this table has no
primary key. there are 9 fields on the form to be filled in, one of which is
a date field. right now, i've been using this db myself and have entered
only 10 days of sample data to check my calculations but i realized that
there may be times when i need to add a record that was missed that...
|
by: elein |
last post by:
Yes, I vacuumed. Reproduced on both 7.3.2 and 7.5.
Brain dead java beans want order by clauses in views
that they use.
my view is:
select ....
from bigtable b left join lookuptable l
order by bigkey desc;
|
by: mcollier |
last post by:
I have some VB6 code that calls a SELECT query in Microsoft Access.
When I run the query from access, the results appear in not particular
order. However, when I call the query from VB6, via ADO, the rows are
returned in order by one particular column/field. There is no ORDER BY
on the query.
For example, in Access, the rows may be returned as:
RowID
------
1
| |
by: Beowulf |
last post by:
I have the view below and if I use vwRouteReference as the rowsource
for a combo box in an MS Access form or run "SELECT * FROM
vwRouteReference" in SQL Query Analyzer, the rows don't come through
sorted by Numb.
Everything I've read on the web suggests that including the TOP
directive should enable ORDERY BY in views. Does someone have an idea
why the sorting is not working correctly for this particular view? thanks.
CREATE VIEW...
|
by: beconrad |
last post by:
Hi all,
I am not sure if what I want to do is possible, and if it is I have not
been able to figure out how to do it. This is what I would like:
1. I have a data entry form with a field called Insurance. That field
uses a combo box which takes its information from query on the
Insurance table. At the moment the drop down list is sorted in
alphabetical order.
|
by: InnoCreate |
last post by:
Hi everyone.
I've recently written a classic asp website which uses an MS Access
datasource. I know this is less than an ideal data source as it has
limited functionality. I have a search form on my website which allows
users to define parameters and return results accordingly. The problem
i have is a need to return these results in a random order each time.
With SQLServer i know NEWID() would do the trick - used this many times
before...
|
by: EwanD |
last post by:
I am trying to read through and process an Access Query using VBA.
I have used the OpenRecordset method with parameters as below
OpenRecordset(sSourceRecordset, dbOpenDynaset)
Where “sSourceRecordset” contains the name of the query I wish to read.
I can then move through the records using .MoveNext
|
by: altafur |
last post by:
hi,
i am using java with hibernate . i want to run a hibernate order by query thru java.
i have written the query in hibernate.hbm.xml file. the query is as follows:
query:
SELECT distinct a.process_id, a.name name, a.category_id,c.parent_id
FROM tbl_process_master a, tbl_category c where (lower(a.name) like :searchString or lower(a.description) like :searchString or
lower(a.meta_tag) like :searchString ) and a.status=:status and...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |