How to hide fields

Results 1 to 2 of 2

Thread: How to hide fields

  1. #1
    Join Date
    Dec 1969

    Default How to hide fields

    I've got a field I want to hide on an ASP page. I have an SQL database with hotels that are offering online booking service. But not all the hotels in my database are offering this service. I have a small graphic called booksym.gif that I want to use with those hotels who are offering the service. It will link to the actual online booking engine. The name of the SQL database is called Hotels. The column where the graphic lives is called zonlinehotel. Can someone tell me what the code would be on the ASP pages to make this graphic show up ONLY with those hotels offering the service? I'm using Dreamweaver UltraDev 4 because I'm not a programmer. Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: How to hide fields

    if len(trim(rs("zonlinehotel"))) &#060;&#062; 0 then<BR>&#039;write out line of code that has the hotel link<BR>end if

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts