General information
Category:
Forms & Form designer
>Denis, Keep in mind, with James suggestion the value is converted to a string..., so if a numeric is needed you'll have to convert it back... (_assign & _access events could be used)
>
>I normally keep my numerics right justified, but playing for a few minutes shows the same problem you've had. If the length of the bound value is constent eg 5,2 (xx.xx), you can use the InputMask property using 9s (eg 99.99). Unfortunately, if not constant, any extra 9s (in InputMask) show the same behavior, while too few 9s limit your input. Using an InputMask of =replicate("9", transform(< nValue >)) works as long as you don't type a longer value... although you may be able to modify the InputMask property in the textboxes InteractiveChange event
>>Here's an easy one: How do I left justify a (numeric) number in a textbox control on a form - so it has no space before? I assume some format function - but I cant get it to work... THANKS SOMEONE!
>
>>In the init event of the control put:
>
>>This.value = transfo(mycursor.nValue)
>
>Hope this helps...
Thanks for expounding on that, Michael.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only