I've created a query to return all values in a table where 'Type' is 'A'
[TABLE="width: 500"]
<tbody>[TR]
[TD]Type[/TD]
[TD]TypeNumber[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]34[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]35[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]36[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]37[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]45[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][XXX][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][YYY][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][ZZZ][/TD]
[/TR]
</tbody>[/TABLE]
Can update queries update the blank 'TypeNumber' fields in sequential order based on the record above it?
E.g.: 'XXX' = 46, YYY = 47, ZZZ = 48
[TABLE="width: 500"]
<tbody>[TR]
[TD]Type[/TD]
[TD]TypeNumber[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]34[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]35[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]36[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]37[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]45[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][XXX][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][YYY][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][ZZZ][/TD]
[/TR]
</tbody>[/TABLE]
Can update queries update the blank 'TypeNumber' fields in sequential order based on the record above it?
E.g.: 'XXX' = 46, YYY = 47, ZZZ = 48