Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPClassifieds (Info Locked Info Locked)
 CJWSoft Support Info : ASPClassifieds
Subject Info: User phone/email display prefs broken A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
lowelife
New User
New User


Joined: April/11/2004
Location: Canada
Online Status: Offline
Info: 2
Added: July/05/2005 at 8:40pm | IP Logged Quote lowelife

I had never noticed this before, but a customer sent me email to say that they had set up their aspclassifieds profile such  that they be contacted by email and not by phone.

However, in their ad, their phone number still appears. The lines in view_ad.asp that check for True values for the Contact_Via_Email and Contact_Via_Phone before displaying that information seem to always evaluate to True, regardless of their setting in the database.

I'm using an Access2000 DB for this. When I open the DB in access, I see the checkboxes correctly unchecked for phone and checked for email. However, if I do a quick test to display the retrieved values in the view_ad.asp (<%=contact_via_phone%> <%=contact_via_email%> they both display True.

What gives? I have had nightmares with Access and its weird handling of true/false 0/1 yes/no fields, but this is driving me nuts.

 

Back to Top View lowelife's Profile Search for other info by lowelife
 
lowelife
New User
New User


Joined: April/11/2004
Location: Canada
Online Status: Offline
Info: 2
Added: July/06/2005 at 1:41am | IP Logged Quote lowelife

False alarm. Dumb user alert (both the classifieds customer and me).

When I test fixes, I need to be looking at the right Ad_ID to get correct results

Back to Top View lowelife's Profile Search for other info by lowelife
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: July/06/2005 at 1:42am | IP Logged Quote cwilliams

ahhh ok.. I was going to wait till morning to answer this one..

glad ya figured it out

 



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com