TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: Jprw
date: 2004-07-20 05:56:00
subject: Issue with Visual basic s

Hello All.

I am having issues with the visualbasic gramatic for the following scenario:

I am retrieving information from an Access 2000 Database. The current fields
are:

ebay, which is a yes / no, showing as -1 or 0
ebay_path, which is a memo field with the ebay link to the product
auctioned.

within the HTML code, I have the following code:


----------------------------------------------------------------------------
---
<%
if elbadet.Fields.Item("ebay").Value = -1 then

else

end if
    %>
----------------------------------------------------------------------------
---
where
elbadet is the name of the recordset
ebay is the field having the value
ruta_ebay is the other field with the path


Once previewed :is giving me the following error

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

----------------------------------------------------------------------------
----

Technical Information (for support personnel)

  a.. Error Type:
  Microsoft VBScript compilation (0x800A0400)
  Expected statement
  /lacany/TMP6hxrg14ri3.asp, line 62
   * Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.