Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong with = operator
Message
From
26/07/2000 15:20:18
 
 
To
All
General information
Forum:
Internet
Category:
VBScript
Title:
What is wrong with = operator
Miscellaneous
Thread ID:
00397248
Message ID:
00397248
Views:
45
Hi All,

In an ASP, I get a recordset (Access through OLEDB) and assign the custno and Name to a Select/Option object in a HTML form.

The Id property of the Option object is set with objrec("pubid") .

When I submit the form (with the POST method), I get another page where I retrieve the Id (from the request.form('item') object) into a session item called Session("PubId").

My Problem is :
IF objrec("pubid") = session("PubId") Then
is always FALSE although I know that they have the same value at some point (in a do while loop).

I've displayed the values, they are the same (at times) but still the False comparison.

What am I getting wrong?

TIA
Ben Rail
Business Solutions
LOGI.design
Next
Reply
Map
View

Click here to load this message in the networking platform