PC Review


Reply
Thread Tools Rate Thread

Custom Query

 
 
Graham
Guest
Posts: n/a
 
      7th Jul 2005
I already have a Custom Query to change the date filed in my DB. Now I want
to sort the field.s How do I add another query without completing the wizard
which adds another copy of the results to the page?

regards

Graham
7/7


 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      7th Jul 2005
Why not modify the existing query to also sort fields

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Graham" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)...
|I already have a Custom Query to change the date filed in my DB. Now I want
| to sort the field.s How do I add another query without completing the wizard
| which adds another copy of the results to the page?
|
| regards
|
| Graham
| 7/7
|
|


 
Reply With Quote
 
Graham
Guest
Posts: n/a
 
      7th Jul 2005
That occurred to me also, but as I know next to nothing about the syntax of
SQL, I need a pointer or two to get pointed in the right direction. How do
you express multiple statements?


Thanks

Graham

"Stefan B Rusynko" <(E-Mail Removed)> wrote in message
news:uz$9$(E-Mail Removed)...
> Why not modify the existing query to also sort fields
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "Graham" <(E-Mail Removed)> wrote in message

news:%(E-Mail Removed)...
> |I already have a Custom Query to change the date filed in my DB. Now I

want
> | to sort the field.s How do I add another query without completing the

wizard
> | which adds another copy of the results to the page?
> |
> | regards
> |
> | Graham
> | 7/7
> |
> |
>
>



 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      7th Jul 2005
When you use the wizard it gives you the option to group (order)

Normally to sort you just add and ORDER to the end of the select
(ASC or ascending, DECS for descending) as in

Select * from tablename WHERE fieldname1=::variablename:: ORDER BY fieldname2 ASC


Or post your SQL select statement

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Graham" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
| That occurred to me also, but as I know next to nothing about the syntax of
| SQL, I need a pointer or two to get pointed in the right direction. How do
| you express multiple statements?
|
|
| Thanks
|
| Graham
|
| "Stefan B Rusynko" <(E-Mail Removed)> wrote in message
| news:uz$9$(E-Mail Removed)...
| > Why not modify the existing query to also sort fields
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > "Graham" <(E-Mail Removed)> wrote in message
| news:%(E-Mail Removed)...
| > |I already have a Custom Query to change the date filed in my DB. Now I
| want
| > | to sort the field.s How do I add another query without completing the
| wizard
| > | which adds another copy of the results to the page?
| > |
| > | regards
| > |
| > | Graham
| > | 7/7
| > |
| > |
| >
| >
|
|


 
Reply With Quote
 
 
 
Reply

Thread Tools
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Field in Query Slows Query Drastically Larry R Harrison Jr Microsoft Access Queries 1 28th Jan 2005 09:02 PM
Custom query jan Microsoft Access Queries 1 23rd Aug 2004 03:37 PM
Custom SQL Query? =?Utf-8?B?TWF0dCdzIENoYWxsZW5nZS5jb20=?= Microsoft Frontpage 2 20th Aug 2004 01:15 AM
Custom Query Paola Microsoft Access Reports 1 6th Feb 2004 07:03 PM
Custom Query Steve Grosz Microsoft Frontpage 1 9th Jan 2004 08:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 AM.