D
Den
Sorry but I’m new using Access
I have a crosstab query (from the table name Paddle) with Diss Unit as Row
Heading and Position as Column Heading. The data is grouped by Diss Unit.
The cross tab query works fine when I use Last in Total Row and Value in
Crosstab row under Serial No. The crosstab query work well if the data is
entered in date sequence but I need sure that the value that I get is from
the last date in the case that the data is not entered in sequence. Each
instrument will have six positions with paddles assigned to each position so
I need to document the serial number of the paddle and the date when it was
installed or changed. The paddles in each position will be changed
frequently but each one at different dates so the purpose is to have a report
of current paddles that are in use in the instrument. How can I get the
value from the last date?
Table Name Paddle
PosID - Autonumber
Diss Unit – text
Position – Text
Serial No. – text
Date Installed - Date
SQL
TRANSFORM Last(Paddles.[Serial No]) AS [LastOfSerial No]
SELECT Paddles.[Diss Unit]
FROM Paddles
GROUP BY Paddles.[Diss Unit]
PIVOT Paddles.Position;
I will appreciate any help from you
I have a crosstab query (from the table name Paddle) with Diss Unit as Row
Heading and Position as Column Heading. The data is grouped by Diss Unit.
The cross tab query works fine when I use Last in Total Row and Value in
Crosstab row under Serial No. The crosstab query work well if the data is
entered in date sequence but I need sure that the value that I get is from
the last date in the case that the data is not entered in sequence. Each
instrument will have six positions with paddles assigned to each position so
I need to document the serial number of the paddle and the date when it was
installed or changed. The paddles in each position will be changed
frequently but each one at different dates so the purpose is to have a report
of current paddles that are in use in the instrument. How can I get the
value from the last date?
Table Name Paddle
PosID - Autonumber
Diss Unit – text
Position – Text
Serial No. – text
Date Installed - Date
SQL
TRANSFORM Last(Paddles.[Serial No]) AS [LastOfSerial No]
SELECT Paddles.[Diss Unit]
FROM Paddles
GROUP BY Paddles.[Diss Unit]
PIVOT Paddles.Position;
I will appreciate any help from you