dynamic decimal format

S

Souris

I would like to have my decimal format while generate the report on the fly.

Are there any even I can put the code on and how can I referecne the text
box on the report form?

Your hlep is great appreciated,
 
E

Evi

Put it in the On Format Event of the section that contains the control.

The code would look something like

If (whatever your condition is) Then
Me.YourTextBox.Format = "00.00" or whatever format you require
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top