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 strongm 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. nicklad

    help with Listbox's. PLEASE HELP!

    Hi i have 3 questions on listboxs. if anyone could give me answers with code (As im quite a novice!) i'd be SOOOO thankful. 1. how do i link 4 listboxs together, so when i select one item on one list, the corresponding index numbers on the other lists are also selected? 2. how do i create a...
  2. nicklad

    how do i play random wav files?

    I am wondering if someone can tell me the code i would need to be able to play 3 random .wav files from a designated folder/directory after pressing a cmd button, without playing the same one more then once each time the cmd button is clicked. thank u
  3. nicklad

    Help with reading/writing to a text file. PLEASE HELP!

    thank u both for you excellent and speedy replys! you guys are LIFESAVERS!!! cheers ~ nick [elephant2]
  4. nicklad

    Help with reading/writing to a text file. PLEASE HELP!

    Hi here's my problem: i need to know how to write some code that will allow me to read/write data from a textbox to a .txt file The hard bit is that the .txt file will need to be read/written to a directory that will be different for each user. Let me explain it in a bit more detail. My program...
  5. nicklad

    db HELP! This just doesn't make any sense!!!!

    i figured it out!!! it had NOTHING to do with my SQL code, my database code or my Access DB, it had something to do with the way i ws loading 2 text files into 2 labels. the code i had that was screwing with my database was: Open StatID for input as #1 lblStatID.Caption = Input(LOF(1), 1)...
  6. nicklad

    Textbox help

    i have never used MS Flexgrid, so i was wondering if u could point me in the right direction for some tutorials etc, or even add some sample code for me thank u
  7. nicklad

    HELP! This just doesnt make any sense!!!

    i ran this code thru debugging mode, and it seems to skip everything from If Not (rs.EOF And rs.BOF) Then to Else MsgBox "Not a valid StationID", does this mean that my recordset is empty? and if it is, how can i fix this?
  8. nicklad

    Textbox help

    Hi another question from my bag-o-problems I am designing a user input playlist. It is going to be made up of the following columns from left to right: Track Number - the track number on the playlist Track Name - pretty self explanatory Length - Length of the track Running Time - Total running...
  9. nicklad

    db HELP! This just doesn't make any sense!!!!

    it think that its not any of my code that's the problem, but instead its my Access Database. Now this i have no idea what could be wrong! I've created new ones, but it did nothing. Is there some References or components that i might be missing? OR is there another way i can approach this...
  10. nicklad

    db HELP! This just doesn't make any sense!!!!

    my recordset is trying to look at ONE user's info. it is checking to see if the yes/no field "STAccess" is ticked or not. If it is ticked: optStat.Visible = True lblNoSTAccess.Visible = False if not: optStat.Visible = False lblNoSTAccess.Visible = True
  11. nicklad

    db HELP! This just doesn't make any sense!!!!

    sanuj: also, after i put that END IF in the proper place, it would just load up lblNoSTAccess for all users, no matter if they had access to STAccess or not
  12. nicklad

    db HELP! This just doesn't make any sense!!!!

    i ran the query and it returned the results i thought it would: users who had access to STAccess had the yes/no "STAccess" field ticked, and those who didnt have access did not have that field ticked what does this mean?
  13. nicklad

    db HELP! This just doesn't make any sense!!!!

    when i debug the code, it runs perfectly up until the if not rs.eof and not rs.bof then line in which it skips all the lines until the end if at the end, hence missing out the bit which tells the program to make optStat and lblNoSTAccess visible/invisible
  14. nicklad

    db HELP! This just doesn't make any sense!!!!

    this code that u, sunaj, wrote does take away the runtime error, but it doesn't seem to be making either optStat or lblNoSTAccess visible what could have happened?!
  15. nicklad

    db HELP! This just doesn't make any sense!!!!

    how do i use a variable for the "STAccess"? it was working perfectly just a little while ago, so i rekon it muct be somethin basic Check the status of the recordset? how is that done? if u mean check if the "STAccess" yes/no field is there and working, then i have. nothing...
  16. nicklad

    HELP! This just doesnt make any sense!!!

    ...'Prepare the recordset rs.ActiveConnection = dbconnection rs.CursorType = adUseStatic rs.CursorLocation = adUseClient sql = "SELECT * FROM UserAccess WHERE StationID='" & lblStatID.Caption & "'" rs.Open sql If rs("STAccess") Then optStat.Visible = True...
  17. nicklad

    db HELP! This just doesn't make any sense!!!!

    ...'Prepare the recordset rs.ActiveConnection = dbconnection rs.CursorType = adUseStatic rs.CursorLocation = adUseClient sql = "SELECT * FROM UserAccess WHERE StationID='" & lblStatID.Caption & "'" rs.Open sql If rs("STAccess") Then optStat.Visible = True...
  18. nicklad

    scroll bar in a frame

    foada. u wouldnt be able to include some example code for what u suggested in ur message above - im a bit of a beginner so need a helping hand from someone who knows [wink] thank u! [thumbsup2]
  19. nicklad

    scroll bar in a frame

    there must be away u can add a vscrollbar thou? like it just cant NOT be able to be done or am i way off?
  20. nicklad

    scroll bar in a frame

    how do i add a verticle scroll bar to a frame? thanks

Part and Inventory Search

Back
Top