Starlitnight
Technical User
Hi,
I have a query which pulls the number of people we serve by converting text to a integer via Cint(). The original value was #Served:23. The numbers after the colon were extracted and converted via the Cint() function. Now I am to create a report that contains a sum of that field.
Here is the expression used to create my field. TrueNumberServed: CInt([NumberServed]). When I try to sum this, I encounter a "data type mismatch in criteria expression' error...
Any ideas on how I can sum this?
I have a query which pulls the number of people we serve by converting text to a integer via Cint(). The original value was #Served:23. The numbers after the colon were extracted and converted via the Cint() function. Now I am to create a report that contains a sum of that field.
Here is the expression used to create my field. TrueNumberServed: CInt([NumberServed]). When I try to sum this, I encounter a "data type mismatch in criteria expression' error...
Any ideas on how I can sum this?