format field

hi all

how can i use the format function such that the number of dicemal points depends on value read from table

any ideas

thnx



Answer this question

format field

  • Navneet Gupta

    Per the support engineer:

    We can use Format function to do it.

    The sample shows how to format a string of a format from a variable.

    Dim s As String

    Dim y As String

    y = "#,##0.00"

    s = Format(4313413.9234, y)

    MsgBox s

    Now the y is from a const, we can read it from a table too. On the other hand, we can also to joint a string from some value.

    -brenda (ISV Buddy Team)



  • format field