Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Type Mismatch Error

Type Mismatch Error

Type Mismatch Error

I'm getting a type mismatch error on the following line:

CODE --> Basic

enginePrice = Csng(RFP) - Csng(SRP) - Csng(manualadj) - Csng(Penalty) 

RFP, SRP, manualadj, and penalty are all globally declared in a seperate header file as strings
and enginPrice is globally declared as a single.

I can't figure out why I'm getting the error. any help would be very much appreciated.


RE: Type Mismatch Error



enginePrice = Csng(RFP) - Csng(SRP) - Csng(manualadj) - Csng(Penalty) 
How is enginePrice declared?
How is RFP declared?
How is SRP declared?
How is manualadj declare?
How is Penalty declared?

At the point of error...
what is the VALUE in RFP?
what is the VALUE in SRP?
what is the VALUE in manualadj?
what is the VALUE in Penalty?


glassesJust traded in my old subtlety...
for a NUANCE!tongue

RE: Type Mismatch Error

Thanks Skip, I've feel stupid because its working now, and I think the issue was needing to compile the .ebh. Still not quite sure what happened, but I changed no code and it is now working.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close