Hi,
It seems that whatever way you are initialising the
Workstation_id parameter it is not being done properly.
Try leaving out the code that retrieves the Id and just
set it to a fixed variable. Try adding that parameter.
I think you will probably find that the problem is just
your code where you are retrieving the ID number.
Dave
-----Original Message-----
From: Gerrie Venter [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 12, 2000 12:12 PM
To: [EMAIL PROTECTED]
Subject: [SERVLET-INTEREST] Sending values to parameter
Importance: High
i have a problem to sent my "workstation_id" which is a int value to my
parameter.
the error --- Cannot inset value NULL into Workstation_id
this means that the way i sent the workstation_id to the parameter is wrong
how can i send the values to the parameter :
out.println("<text name=\"CompId\">");
out.println(qryInt.getInt("ws_Workstation_id"));
out.println("</text>");
thank you
gerrie
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
***********************************************************************
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or
deliver this message to anyone. In such case, you should destroy this
message and notify the sender and [EMAIL PROTECTED]
immediately.
If you or your employer do not consent to Internet E-mail messages of
this kind, please advise us immediately.
Opinions, conclusions and other information expressed in this message
(including any attachments) are not given or endorsed by ebeon ltd
(or ebeon inc., as applicable) unless otherwise confirmed in writing
by an authorised representative independent of this message. Any
liability arising from reliance placed on this message (including its
attachments) without such independent confirmation is hereby excluded.
This message (including attachments) is protected by copyright laws
but has no other legal or contractual standing. The presence of this
footnote indicates that this message (including its attachments) has
been processed by an automated anti-virus system; however it is the
responsiblity of the recipient to ensure that the message (and
attachments) are safe and authorised for use in their environment.
***********************************************************************
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html