Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Incrementing a value from a table

Status
Not open for further replies.

TimJr

Programmer
Feb 22, 2002
21
US
I'm new to ASP and am probably missing something simple.

I retrieve a value from a table where "company" is a numeric field:
x = rsComp("company")

I want to increment x by one:

x = x + 1

but I get a Type mismatch error.

WHY?
 

____________________________________________________
get the best answer to your questions by asking the best questions "General FAQ" faq333-2924
onpnt2.gif
 
That did it.
I used CINT and had no errors.
Sometimes the simplest things give you the biggest headaches.

THANKS!!!!!!!!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top