Percentage: Format(CountOfRegular Booking/DCount("*","tblBooking"),"Percent")
I get an error: 'Undefined function 'Format'' - how can I fix this? The above expression is supposed to convert values into percentages. I copied the expression from someone's sample database (to help me) and I just changed the appropriate parts around, but I get that error. I put a space between 'Regular Booking' because that's how it is presented as my field name, but I also put them together as one word to see if that would solve matters, but no luck. The sample database works fine, however.
Sample query expression:
Percentage: Format(CountOfbooleanFieldName/DCount("*","TableName"),"Percent")
Thanks guys.
I get an error: 'Undefined function 'Format'' - how can I fix this? The above expression is supposed to convert values into percentages. I copied the expression from someone's sample database (to help me) and I just changed the appropriate parts around, but I get that error. I put a space between 'Regular Booking' because that's how it is presented as my field name, but I also put them together as one word to see if that would solve matters, but no luck. The sample database works fine, however.
Sample query expression:
Percentage: Format(CountOfbooleanFieldName/DCount("*","TableName"),"Percent")
Thanks guys.

Last edited: