While statement (1 Viewer)

Lady Gragor

Registered User.
Local time
Tomorrow, 03:06
Joined
Nov 4, 2008
Messages
37
In Access 2003 I'd be interested to know any oppinion of the best way to manipulate a linked text file to do the following:-

WHILE

Field2 remains the same
AND Field4 remains the same
AND Field5 remains the same

THEN

SUM Field12

ENDWHILE
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 13:06
Joined
Feb 19, 2002
Messages
43,257
Use a totals query.

Select field2, field4, field5, sum(field12) as SumOfField12
From your table
Group by field2, field4, field5;
 

Users who are viewing this thread

Top Bottom