G
Guest
Hi.
Hope someone can help me?
I have a database with the following fields.
PalletID
Location
Trailer No
Trailer Sheet No. (Currently Blank)
Update
We have a number of lorries, all with different Trailer Nos which come and
go each day.
When they are being loaded, the pallets get scanned and then placed on the
trailer.
What I am trying to do is run a query that says all lines with the update
field of "0"
and a location of "PL" I want to enter an autonumber eg. PL000001.
Then when the next trailer has been scanned, I want to run the query again
which will give all the pallets on that trailer PL000002 and so on.
I have not had any training on SQL query, so if this is possible in design
view, I would appreciate it. I have tried SQL, but without success.
Cheers
AJ
Hope someone can help me?
I have a database with the following fields.
PalletID
Location
Trailer No
Trailer Sheet No. (Currently Blank)
Update
We have a number of lorries, all with different Trailer Nos which come and
go each day.
When they are being loaded, the pallets get scanned and then placed on the
trailer.
What I am trying to do is run a query that says all lines with the update
field of "0"
and a location of "PL" I want to enter an autonumber eg. PL000001.
Then when the next trailer has been scanned, I want to run the query again
which will give all the pallets on that trailer PL000002 and so on.
I have not had any training on SQL query, so if this is possible in design
view, I would appreciate it. I have tried SQL, but without success.
Cheers
AJ