Hi,
im creating a table with composite keys, that is the order_id and stock_id are primary keys, how do i do this
CREATE TABLE GIFT_ORDER_ITEM
(
ORDER_ID NUMBER,
STOCK_ID NUMBER,
QUANTITY NUMBER
)
Hi,
i want to create a session variable by putting them in a class of their own first.
so if i have the following details how do i use the set and get attributes in the class.
public class GSTSUser
{
public GSTSUser()
{
String userName;
String usertype;
String brokerId;
String...
im just wondering is this statement right cos every time i run it it always brings back the first redirect even if it should be the second one.
if(userType.equals("C"))
{
response.sendRedirect("http://localhost:8080/course/jsp/CustomerView.jsp");
}
else...
yep that works fine,
alls i want now is to do with the else part. when i say
else
{
System.out.println("Wrong password")
}
it prints it out to my tomcat command prompt.
however i want to pass it back to my servlet so that i can print it out to my screen using...
hi i want to do an if statement here so that if the password matches that that was entered then redirect the user to a certain page, which i have done. how do i i do an else part of the statement to say if its not the same print out sorry, wrong password. i have these returning variables to a...
Hi,
i am logging in using username and password. I want to validate this so that what is in the database is equal to what was entered into the login fields. below is the select statement i used to get the info from the database. how do i use a .equals to compare whats in the database to what...
i call the following function to validate text.
is there something here that is causing the error????
Private Sub txtsurname_KeyPress(KeyAscii As Integer)
KeyAscii = CustomKeys(KeyAscii)
End Sub
Public Function CustomKeys(KeyAscii As Integer) As Integer
Select Case KeyAscii
Case 8...
Hi,
i have this weird problem.
i have a form for updating customer details so all textboxes are filled in on the form . however when i change say the customer firstname and move to the next textbox the text in the customer firstname textbox disappears. this also happens when i move from the...
this still does'nt work. i tried
sstab1.tab = 0
or Set SSTab1.SetFocus = SSTab1.Tab(0)
and the ways emntioned above
but i keep getting prompted
"wrong number of arguments or invalid property assignment"
does anyone know how i can do this?
thanks
Hi,
i have 6 tabs on one of my forms(using tabbed control). i was just wondering can i set it so that when the form loads that the first tab will always be the one that is shown.
thanks
this is the way i am adding the items to the listbox.
listsamename.AddItem (datname.Recordset.Fields("Address").Value)
so would you set your null string like this?? or what is the right way. i tried this one but it does'nt work
listsamename.AddItem...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.