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: *

  • Users: lalee5
  • Order by date
  1. lalee5

    Joining two select....statement to pull the records needed

    Anyone here...please help..... is there any easier way to solve this problem
  2. lalee5

    Joining two select....statement to pull the records needed

    I did the following and still same error message With rsclone Set .ActiveConnection = CN .CursorLocation = adUseServer .CursorType = adOpenKeyset .LockType = adLockOptimistic .Properties("IRowsetIdentity") = True .Open stcnQL1, , , , adCmdText...
  3. lalee5

    Joining two select....statement to pull the records needed

    I replace my code with yours and it is moving paste that lind of code and giving me an error "run-time error 424 object required" at: ActiveConnection = CN any idea why this happen. again it works fine with only one select criteria
  4. lalee5

    Joining two select....statement to pull the records needed

    The result should return the records meeting both critria. I have test this on one criteria and it work. what i can do is put a if statements that: If Polookup1 <>"" then........... else... Msg"both criteria must have value" end if but that is beside the point....the main problem is that...
  5. lalee5

    Joining two select....statement to pull the records needed

    Below is my code. I am trying to select only the records meeting the two criteria and then clone the data to a datagrid. I need helo joining the two select statements. I have try "and"...but it does not work.. it says data mismatch. there are two text box for user input for the select"...
  6. lalee5

    can't fnd project or error

    Dear experts: I have a program that I code and it worked fine. I need to make some changes to it. a year ago was when I last make changes. My computer crashed I re-install VB and now when I open the project back up and test run VB is having comile error "can't find project or library" on...
  7. lalee5

    NEed help

    below is what I have: tServer = "\\Marble" & vbNullChar Still says unable to get time from server Kay
  8. lalee5

    NEed help

    Hi zarkon4, It took me awhile to get back to this. I updated my OS to Windows 2000 professional. Ran the program but it says unable to get server time??? it is in your code, what do I need to do to get it to get server time? Kay
  9. lalee5

    NEed help

    wINDOWS me
  10. lalee5

    NEed help

    Zarkon4, Still getting the same message after I replace the server name. Can't find dll entry point netremoteTOD in Netapi32.dll kay
  11. lalee5

    NEed help

    Zakron4, I paste the code in a new module. Ran the programe and it is giving me an error: Can't find dll entry point netremoteTOD in Netapi32.dll What does that mean? and do I replace "PUMPS" with our server name? Kay
  12. lalee5

    NEed help

    I am writing a time clock program. I don't want the user to be able to change the system date and time. Is there a way to restrict this? Also Can I compare the date and time to the last punch in. For expamle if time or date is less than last person punch in then system gives error. if so ...
  13. lalee5

    search criteria TYPE MISMATCH

    I really need a way around this. I want to be able to update the record after it meets the two criteria Please help me figure out what is the best way to go about this. thanks kay
  14. lalee5

    search criteria TYPE MISMATCH

    I think the search criteria works. it is just in the call procedure. It seems like this will not work. is there another way to pull a record based on mulitple criteria make changes and update the record. it there is a better way please direct me. thanks kay
  15. lalee5

    search criteria TYPE MISMATCH

    William, I got the same as you when I add the quote to the statement but it stills crush at the call procedure. its there ways arounf this? Kay
  16. lalee5

    search criteria TYPE MISMATCH

    below is the code I try to get it to work. the search criteria results are searchcriteria="clockindate=06/27/2004 and socialsecno=586565441" Code: Dim Searchcriteria As String Adohours.Recordset.MoveFirst Searchcriteria = " clockindate = " + todaydate.Text + " And socialsecno =...
  17. lalee5

    search criteria TYPE MISMATCH

    The error is stopping on the call statement after the criteria. Call Adohours.Recordset.Find(Searchcriteria) it seems like the criteria works but to call it so the current record is display that is where the problem is. kay
  18. lalee5

    search criteria TYPE MISMATCH

    Still the same error after quotes. please see what I am doing wrong: Searchcriteria = "clockindate='" + todaydate.Text + "'" + " And socialsecno = '" & txtpassword.Text & "'" erorr at runtime: arguments are of the wrong type, are out of acceptable range or are in conflict with one another.
  19. lalee5

    search criteria TYPE MISMATCH

    since txtpassword is a numeric field I used the following statement but there is a new error: oh, I rename date to clockindate. Searchcriteria = "clockindate='" + todaydate.Text + "'" + " And socialsecno = " & txtpassword.Text erorr at runtime: arguments are of the wrong type, are out of...
  20. lalee5

    search criteria TYPE MISMATCH

    I try the following and it comes back syntax error Searchcriteria = "DATE='" & todaydate.Text "'" And "socialsecno = " & txtpassword.Text if I put the + in front of and it comes back Complie error: expected end of statement Searchcriteria = "DATE='" & todaydate.Text "'" +And...

Part and Inventory Search

Back
Top