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").Va lue = -1 then
<a href="<%=(elbad et.Fields.Item( "ruta_ebay").Va lue)%>" target="_blank" ><img
src="images/content/ebay_auctions.g if" width="296" height="43" border="0">
else
<img src="images/content/ebay_auctions_i nactive.gif" width="296" height="43"
border="0">
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.a sp, line 62
<a href="<%=(elbad et.Fields.Item( "ruta_ebay").Va lue)
b.. Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
c.. Page:
GET /lacany/TMP6hxrg14ri3.a sp
d.. Time:
Monday, July 19, 2004, 11:10:52 PM
e.. More information:
Microsoft Support
--------------------------------------------------------------------------
In plain english I need the statement to behave something like this
(pseudocode)
If the specified filed = -1 then show the active gif image and the link
else
show the inactive gif image
end if statent
Thanks in advance; any help is highly appreciated.
Juan Pablo Rojas
merca-web.com 0 1476 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JPRW |
last post by:
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.
|
by: nicole bissell |
last post by:
Hello,
I am working in a new form and still making changes to the visual basic
code of the form. Not always, but very often when I try to save my
changes in the visual basic window and press the icon, this window
closes(without saving) and the whole database, too.
I already tried to switch everything in a new form and error occurs
again after starting to work in the visual basic code of this specific
form not in others and I did...
|
by: Chad |
last post by:
I have a problem that I am desperate to understand.
It involves dynamically adding controls to a Table control that is built as a result of performing a database query.
I am not looking to avoid the problem by avoiding the table control or resorting to databound controls that better manage state for me. I hope to understand how to solve the problem by using the Table web control and sticking to the approach of building the table at run...
|
by: LCAdeveloper |
last post by:
I have had to move to Visual Studio.NET Pro. from Visual Basic 4.0 and am now starting to re-write our code. I was a bit surprised to find that Visual Basic.NET no longer supports fixed length strings, which is a pain as we use our own database format with specific, user-defined data types and random access files. An example module content would be
Option Explici
Type Record
Operation As String * 4
unit As String * 2
Marker1 As String *...
|
by: gerryLowry::Ability Business Computer Services {KC |
last post by:
"Getting Back Your Visual Basic 6.0 Goodies" by Billy Hollis, 2003-5-14,
states:
"Getting a Forms Collection
Visual Basic 6.0 developers are often fond of looping through the currently
loaded forms in an application to find out something, such as if a
particular form it loaded, or how many of a particular type of form are
loaded. Windows Forms does not include a Forms collection, however, so
gaining such functionality in Visual Basic...
| |
by: m.roello |
last post by:
In the book:
"Working with Microsoft Visual Studio 2005"
Craig Skibo wrote:
"The power of Visual Studio 2005 lies in its ability to empower users to
build, test, and debug powerful applications quickly and easly."
I don't agree on what concernes ASP .NET Web Sites in VS2005.
All what involves Namespaces in Web sites has been disappeared. I know
you can still MANUALLY manage them, but not QUICKLY and EASLY. In a
|
by: elnahrawi |
last post by:
Download ebook
http://books-download.com/?Book=1487-Visual+Basic+2005+Jumpstart
Okay, all you VB6 developers--time's up. As of March 2005, Microsoft no
longer supports this version of Visual Basic. And you can't blame them.
Three years ago, they introduced the .NET Framework--an elegant,
powerful platform--along with the new component-based VB.NET language.
But roughly five million of you decided to stick with VB6, mostly to
maintain...
|
by: John Bailo |
last post by:
http://www.informationweek.com/software/showArticle.jhtml?articleID=196600515
Developers Embrace Java, Drop Visual Basic
"Developers have abandoned Microsoft's Visual Basic in droves during the
last six months, and they're using Java more than any other development
language, according to a recently published survey."
|
by: Chris Asaipillai |
last post by:
Hi there
My compay has a number of Visual Basic 6 applications which are front endeed onto
either SQL Server or Microsoft Access databases.
Now we are in process of planning to re-write these applications into Visual Basic.Net.
My managers main thought is that Visual Basic 6 is (or has!) stopped being supported
by Microsoft.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |