eu uso o tab() pra imprimir
Do geito q o amigo acima falou funciona quando eu imprimo direto, mas quando eu uso tab() num funciona direito.
Tive de fazer uma rotina assim pra funcionar +ou-
Código grande mais bem simples de entender
If Len(TABLE_TEMP_DADOS("VL_UNITARIO")) = 4 Then
UNIT_FORMAT = Format$(CStr(Format$(TABLE_TEMP_DADOS("VL_UNITARIO"), "##,##0.00")), "@@@@@@@@@@@@@@@@")
End If
If Len(TABLE_TEMP_DADOS("VL_UNITARIO")) = 5 Then
UNIT_FORMAT = Format$(CStr(Format$(TABLE_TEMP_DADOS("VL_UNITARIO"), "##,##0.00")), "@@@@@@@@@@@@@@@")
End If
If Len(TABLE_TEMP_DADOS("VL_UNITARIO")) = 6 Then
UNIT_FORMAT = Format$(CStr(Format$(TABLE_TEMP_DADOS("VL_UNITARIO"), "##,##0.00")), "@@@@@@@@@@@@@@")
End If
If Len(TABLE_TEMP_DADOS("VL_UNITARIO")) = 7 Then
UNIT_FORMAT = Format$(CStr(Format$(TABLE_TEMP_DADOS("VL_UNITARIO"), "##,##0.00")), "@@@@@@@@@@@@@")
End If
If Len(TABLE_TEMP_DADOS("VL_UNITARIO")) = 8 Then
UNIT_FORMAT = Format$(CStr(Format$(TABLE_TEMP_DADOS("VL_UNITARIO"), "##,##0.00")), "@@@@@@@@@@@@")
End If
If Len(TABLE_TEMP_DADOS("VL_UNITARIO")) = 9 Then
UNIT_FORMAT = Format$(CStr(Format$(TABLE_TEMP_DADOS("VL_UNITARIO"), "##,##0.00")), "@@@@@@@@@@@")
End If
If Len(TABLE_TEMP_DADOS("VL_UNITARIO")) = 10 Then
UNIT_FORMAT = Format$(CStr(Format$(TABLE_TEMP_DADOS("VL_UNITARIO"), "##,##0.00")), "@@@@@@@@@@")
End If