|
|
|
|
3 |
148 |
|
|
|
|
3 |
112 |
|
|
Compress query display by
Michel Walsh
Hi,
SELECT ID, year, MAX(field1), MAX(field2), MAX(field3)
FROM mytable
GROUP BY ID, year
The MAX() aggregation exclude NULL, so, if there is a not null...
|
January 26th, 2006 09:51 PM
by Vincdc
|
1 |
88 |
|
|
Problem with LIKE operator by
John Nurick
Hi James,
There's nothing obviously wrong with the query; I've just tested the
same syntax in a test database:
SELECT * FROM FAQ WHERE fSubject LIKE & '*'...
|
|
0 |
73 |
|
|
|
|
3 |
134 |
|
|
Problem with LIKE operator by
Michel Walsh
Hi,
Should work unless the parameter is really a blank space, and not null or a
zero length string. Try TRIM( ) around each parameter:
LIKE TRIM() & "*" &...
|
|
0 |
68 |
|
|
|
|
0 |
74 |
|
|
Problem with LIKE operator by
John Spencer
Try
SELECT Trans.Number, Trans.Ticket, Trans.Date, Trans.Card
FROM Trans
WHERE Trim(Trans.Card) Like & "*" &
I'm guessing that you have trailing spaces in...
|
|
0 |
76 |
|
|
Yes/No Data type by
NP
Perfect, it works. Thanks!!
"Jerry Whittle" wrote:
"Completed" does not mean -1. In a YesNo field Yes, True, or On is equal to
-1. No, False, or Off is...
|
January 26th, 2006 08:41 PM
by NP
|
0 |
75 |
|
|
Problem with LIKE operator by
Jerry Whittle
SELECT Trans.Number, Trans.Ticket, Trans.Date, Trans.Card
FROM Trans
WHERE Trans.Card LIKE & "*"
AND Trans.Card LIKE "*" & ;
--
Jerry Whittle
Light. Strong....
|
|
0 |
84 |
|
|
SELECT TOP N - Can N be variable? by
Tim
I'm trying to provide some flexibility to a SELECT TOP query. I'd like the
user to be able to pull the TOP 3, TOP 5, TOP 20, or whatever. I tried...
|
|
1 |
126 |
|
|
datediff by
Brent
Is there a way to use the datediff function to return in results in a
minute:seconds format? Example 03:30 for 3 minutes and 30 seconds.
Brent
|
January 26th, 2006 08:22 PM
by Brent
|
6 |
98 |
|
|
|
|
0 |
140 |
|
|
Consolidating field values by
StevieD via AccessMonster.com
Hi.
Just a quick one (i hope).
I have 3 column in my database. (Mach1, Mach2, and Mach3)
Each column looksup values using a combo box.
There is a 4 column...
|
|
3 |
82 |
|
|
nested If by
mn
My function is:
Amt:=IIF(( =99999 And = -1,/1.07,))
The result I need in this function is " If contract # is 99999 and GSTYN =
-1 (yes) then Amount is...
|
January 26th, 2006 05:39 PM
by fredg
|
4 |
124 |
|
|
name field by
jb ellis
I have a name field that is text in a personal type address book database.
Some relatives keep their own names when they marrry and I would like to
build a...
|
|
5 |
205 |
|
|
Date Field problem by
Lucien
I have a table that I am trying to pull data from in where the table has many
fields. In one field my criteria is:
In...
( 1 2)
|
|
10 |
143 |
|
|
Multi Multi Select List boxes by
Simon Glencross
Help or ideas needed please....
I have a multi select listbox where the user selects different catalogue
types and they click a command button which send the...
( 1 2)
|
|
10 |
211 |
|
|
running total issue by
Sam
Hello there,
I am using the follwing SQL code to have my running total:
SELECT A.Date, A.ID, A.Amounts, A.Type, A., A.Description,
A.Balance, A.Currency,...
|
January 26th, 2006 04:51 PM
by Sam
|
2 |
86 |
|
|
Append query autorun problem by
Jerry Whittle
Try putting that particular query in its own macro and running it at a time
when the other queries are already complete.
--
Jerry Whittle
Light. Strong. Cheap....
|
|
0 |
99 |