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 Chris Miller 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. serino

    Help with a Query.

    It worked! Thank you for you help on this. Have a great weekend.:)
  2. serino

    Help with a Query.

    Thank you for patience and your help! Now i am receiving the following error.
  3. serino

    Help with a Query.

    I placed the code on the event procedure for a command button and I received an error "Object Required" for "MyDB". If I create a lookup table as you suggested how do incorporate that lookup table i.e table2 into this code?
  4. serino

    Help with a Query.

    1. Imported data from excel into a table. 2. Yes on Primary key. 3. I did not use an orderby. This is the query: SELECT Import_PT1_Table.PID, Import_PT1_Table.Code, Import_PT1_Table.Serial FROM Import_PT1_Table;
  5. serino

    Help with a Query.

    I need some assistance with this query and I am not sure how to go about it. I need to create a query that will fill the same "Code" where it is Null just like the lower screenshot.
  6. serino

    Find a number between two sets of numbers.

    Skip, Thanks! that worked for me.
  7. serino

    Find a number between two sets of numbers.

    I need some help in figuring this out. is there a way to input a number for example "51424303" and it would return a Job_ID of 1939706. Can this be done with a query and if so how? Job_ID Range1 Range2
  8. serino

    Delete From Table

    ...When i try to run the query below. Any suggestions on what I am missing here? DELETE PT_102_Employee_Attendance_Table.[DateofOccurrence], * FROM PT_102_Employee_Attendance_Table, AT_271_Isolate_Last_Years_Date_From_Today_Table WHERE...
  9. serino

    Delete with WHERE Clause.

    Thanks you both. I must of copied and pasted the code incorrectly I did have DELETE * in there but fixing the null did the trick.
  10. serino

    Delete with WHERE Clause.

    Need some help here. Why is this not working? DELETE FROM HR_021_Isolates_Records_For_Anniversary_Reset_Table WHERE HR_021_Isolates_Records_For_Anniversary_Reset_Table.Code="Unpaid" AND HR_021_Isolates_Records_For_Anniversary_Reset_Table.UTimeTaken=Null AND...
  11. serino

    Help with SQL inner join statement

    That was it! Thank you so much.
  12. serino

    Help with SQL inner join statement

    I have this query and it worked fine except until I add one more criteria "J.Code1" to the statement below and now I am receiving a syntax error message. I am not sure how to fix this. SELECT R.PID, R.Total AS RTotal, L.Total AS LTotal, F.Total AS FTotal, J.Total AS JTotal FROM...
  13. serino

    Adding Records between two ranges

    Got it! I understand now how it will work. Thank you both so much for the help and happy holidays!
  14. serino

    Adding Records between two ranges

    Skip, What is the Andy Table?
  15. serino

    Adding Records between two ranges

    Thanks Skip! I going to go at this with a different approach. I have striped of the letter there by just creating a numerical value. If I have table1 that contains "startnumber" and "Endnumber" and lets say the startnumber is 1401 and the endnumber is 1501. How do I create a query that will...
  16. serino

    Adding Records between two ranges

    That's an idea! I will try this to see if this will work for what I need. Thank You and Happy Holidays!
  17. serino

    Adding Records between two ranges

    Hello Everyone! I am not sure if this is possible but I have to two fields which have a datatype of ShortText. The Fields are called StartNumber and EndNumber. The startnumber will always start with the letter "A" as in this example "A1971400" and the end number "A1971500". Is it possible to...
  18. serino

    Client Settings.

    Is there a way to disable the Client Settings "Confirm" for the queries? I have multiple users and I have to do this manually for each time a new user logs into a windows machine. It would be nice I I could do this once per machine and all three check boxes are disabled for all users. Thanks...
  19. serino

    Referencing a subform

    ...Const conJetDate = "\#mm\/dd\/yyyy\#" If Not IsNull(Me.txtFilteraccountrep) Then strWhere = strWhere & "([AccountRep] Like ""*" & Me.txtFilteraccountrep & "*"") AND " End If If Not IsNull(Me.txtFilterStatus) Then strWhere = strWhere & "([Status] Like ""*"...
  20. serino

    Referencing a subform

    ...string below... If Not IsNull(Me.[txtFilteraccountrep]) Then strWhere = strWhere & "(Forms.F_012_Won_Loss_Form.Form.[AccountRep] Like ""*" & Me.txtFilteraccountrep & "*"") AND " End If lngLen = Len(strWhere) - 5 If lngLen <= 0 Then MsgBox "No criteria"...

Part and Inventory Search

Back
Top