First of all, thank you spend your time reading and / or answering my post. I'm new to forums as well as using Access.
I am developing a bbdd that allows me to print product labels, depending on a delivery note number.
I have created a macro that opens the report and prints the labels, but 1 unit of each.
The macro converted to VB is:
'------------------------------------------------------------
' Imprimir_Etiqueta_05
'
'------------------------------------------------------------
Function Imprimir_Etiqueta_05()
On Error GoTo Imprimir_Etiqueta_05_Err
DoCmd.OpenReport "Etiquetas Consulta Albarán", acViewNormal, "", "", acNormal
Imprimir_Etiqueta_05_Exit:
Exit Function
Imprimir_Etiqueta_05_Err:
MsgBox Error$
Resume Imprimir_Etiqueta_05_Exit
End Function
I need to print "n" labels, depending on the quantity ordered on each line of the delivery note. That data I have it in the query "Consulta Albaran", in a field called "Quantity Order"
I've been looking at the loops that exist, but I'm not sure which one suits my needs, or how to put it.
I would be very grateful if you could help me out.
Greetings