Hi Guys,
In the bit of code below how do I set QTY to be right aligned using the Format keyword? Example of the output I am trying to get with my output strings is
1600.00
***1.00
**15.00
*100.00
I've messed about with the format function but no quite there yet. Any help appreciated Thanks
code:
Set rs2 = CurrentDb.OpenRecordset("qry_test")
With rs2
Do Until .EOF
StrBody = StrBody & vbCrLf & _
"" & !Item & "" & !Desc & " " & Format(!QTY, "##0.00") & " " & !PRICE & ""
 In the bit of code below how do I set QTY to be right aligned using the Format keyword? Example of the output I am trying to get with my output strings is
1600.00
***1.00
**15.00
*100.00
I've messed about with the format function but no quite there yet. Any help appreciated Thanks
code:
Set rs2 = CurrentDb.OpenRecordset("qry_test")
With rs2
Do Until .EOF
StrBody = StrBody & vbCrLf & _
"" & !Item & "" & !Desc & " " & Format(!QTY, "##0.00") & " " & !PRICE & ""
 
	 
 
		 
 
		 I was just wanted a helping hand.  All sorted now and thank you once again.
 I was just wanted a helping hand.  All sorted now and thank you once again. 
 
		