Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. technohead

    composite keys

    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 )
  2. technohead

    session variables using set and get attributes

    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...
  3. technohead

    IF esleif statement

    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...
  4. technohead

    hi i want to do an if statement her

    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...
  5. technohead

    hi i want to do an if statement her

    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...
  6. technohead

    Using Session variables

    Hi i want to use session variables to hold info on a user when they log in. im using jsp pages. anyone any ideas what to do? thanks
  7. technohead

    Hi, i am logging in using usernam

    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...
  8. technohead

    Login

    Hi, i want to login with a username and password. anyone any ideas. Thanx.
  9. technohead

    text in textbox disappears

    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...
  10. technohead

    Tabs

    has anyone got an idea how to do this?
  11. technohead

    text in textbox disappears

    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...
  12. technohead

    Tabs

    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
  13. technohead

    validation

    hi i want ot validate a textbox so that only numbers and a dot can be entered. thanks.
  14. technohead

    Tabs

    i'm using the SSTab1 control
  15. technohead

    Tabs

    where are you getting tabstrip from??
  16. technohead

    Tabs

    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
  17. technohead

    Validation

    Yeh i thought that, but was just wondering if you could do that as well. no prob, thanks a million for your help
  18. technohead

    Validation

    yep thats exactly what i have and it works for the carriage return but i want to move onto the next text box. is that possible
  19. technohead

    combos and listboxes

    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...
  20. technohead

    Validation

    still nothing!!!!

Part and Inventory Search

Back
Top