"Piotr" <ho***@wp.pl> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi I need to perform following query
Richard 3
Damian 4
I need to get result
Richard
Richard
Richard
Damian
Damian
Damian
Damian
Not sure how a query could do that. Pretty easy in a Report though. Would that
suit your purpose?
In a report you could dim an integer variable (cntr) at the top of the report
module and then have code like this in the format event of the detail section...
If cntr < (Me!NumField - 1) Then
Me.MoveLayout = True
Me.PrintSection = True
Me.NextRecord = False
cntr = cntr + 1
Else
cntr = 0
End If
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com