Multiple Format types in one Details View

J

jonefer

I'd like to write a select statment to set different format types
depending on a value in another field


for example
dim DisplayString as string


Select Case [Measure]

Case 'Panel'
DisplayFormatString = '{0,whole integer} 'not sure of the proper syntax

Case 'AveAge'
DisplayFormatString = '{0, percentage}

Case 'StartDate'
DisplayFormatString = '{0, mmm-yyyy}'

end select

is this possible? - Do I use the sort expression ?
 

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

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top