singularity2006
10-31-2003, 06:08 AM
Okie, so I'm trying to spew out a bunch of numbers in a table like format.
Item Qty $/ea. Sub Total
----------------------------------
Item1 15.00
Item2 1.25
Item3 1.00
Item4 0.75
Okay, so it's supposed to look something like that but I can't figure out how to get the output to align around the decimal. Basically, I want all the decimals to be vertical down the column and the numbers placed on either side of those decimals. I was looking @ the format command for decimals but wasn't sure how to implement it. I tried some confusing stuff w/ trying to to Space(15-Val(Item1.Text)) and stuff like that... but it didn't quite work.
oh, and there are two more columns in that table too. So there are a total of four columns, item, qty, unit cost, and subtotal. I need them all to vertically align according to the vertical alignment of the decimals, but I dunno how to do that. Btw, this is a print to screen command.
Item Qty $/ea. Sub Total
----------------------------------
Item1 15.00
Item2 1.25
Item3 1.00
Item4 0.75
Okay, so it's supposed to look something like that but I can't figure out how to get the output to align around the decimal. Basically, I want all the decimals to be vertical down the column and the numbers placed on either side of those decimals. I was looking @ the format command for decimals but wasn't sure how to implement it. I tried some confusing stuff w/ trying to to Space(15-Val(Item1.Text)) and stuff like that... but it didn't quite work.
oh, and there are two more columns in that table too. So there are a total of four columns, item, qty, unit cost, and subtotal. I need them all to vertically align according to the vertical alignment of the decimals, but I dunno how to do that. Btw, this is a print to screen command.
