Expression Question

  • Thread starter Thread starter rciolkosz
  • Start date Start date
R

rciolkosz

I have a query running off of two queries. In one of the queries I have a
val expression dropping off the alpha portion of a number. Problem seems to
be that it is still recognized as a text and I now get a type mismatch in
expression.
 
That's strange as Val returns a number and not a string. Use one of the type
conversion functions such as CDbl to change it into a number. Something like:

CDbl(Val([original text field]))
 

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

Back
Top