i am traying to put date from access table in text box with 2 coloumn (Invoice No &Invoice Amount)
below code gives me right allignment for both coloumns . i want field 1 i.e invoice no to be left allign and field 3 i.e invoice amt. to be right allign.
OK, then. Get ready:
Set the textbox to a nonproportional font.
Figure out how many characters can fit across in the box
Count the characters in both fields
Subtract that value from the number of characters the box can hold
Add that many spaces between the fields