CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Help with Type mismatch error in function call

Print topic Send  topic

Author Message
Frank Rocco
Posted: 09/04/2001, 6:22 AM

Hello,

I get a type mismatch on this line below. What aam I doing wrong? I am using
ASP amd CC 2.0.

Thanks
Frank

sContactsErr = CheckPhone(fldwork_phone)

I have the CheckPhone defined in the modules section under Global functions
as:

function CheckPhone(phone)
if len(trim(phone)) > 0 then
if left(trim(phone),1) <> "(" and mid(trim(phone),5,1) <> ")" then
CheckPhone = "Phone format should be (###)###-####"
end if
end if
end function


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.