Search results

  1. A

    search?

    i am copying that into my code and attempting to make the adjustments. thank you both for your help so far.
  2. A

    search?

    checking now
  3. A

    search?

    well even if i can get it to search through one table will be excelent. My problem is trying to find a way to search based on criteria (user input) and go through the entire table, not just one field like a dlookup function. I have created a for loop (Thanks to pbaldy) that goes through each...
  4. A

    search?

    yes it does and that is essentially what i want to do - just for everything. Is there a way to view the code for that or call it when i need it? unless someone has a better idea to search an entire database?
  5. A

    search?

    The search box in the navigation in any form does exactly what i want to do, however i want to do it through every table. is there any way to call that function and that way i can manipulate it to work the way i want it to?
  6. A

    vba search code via form

    I want to create a way to search through the entire database for records that have all or part of the keyword that the user enters in ANY field of ANY table. i have a DCount() function in there as well to show the user how many records are in each table. from there they would click a button...
  7. A

    search?

    im not sure um using the DCount() formula correctly. here is my code Private Sub btnSearch_Click() Dim db As DAO.Database Dim tdf As DAO.TableDef Dim varRecordCount(1, 44) As Variant Dim i As Integer Set db = CurrentDb() For Each tdf In...
  8. A

    search?

    I had a new thought to anyone who would like to join in here :) is there a way (in vba code) to search through an entire table? similar to the navigation bar's search method in a form? i am doing something that i believe there is an easier way to do but i have no idea how to do it yet. can...
  9. A

    compile error: expected: expression

    alright, no idea what to do. hour and a half later and im still confused my new error is: Runtime error 3075: Syntax error (missing operator) in query expression '20 WHERE ([Item]='200')' s = "INSERT INTO [China Ops] ([Amendment Number]) SELECT " & Me.txtAmdNum & " WHERE ([Item]='" &...
  10. A

    compile error: expected: expression

    ahhhhhhh ic my error. i have to declare it as a variable and then execute it. i got another error when i do this but i am going to attempt and troubleshoot it first cause i feel like im being a pest :)
  11. A

    compile error: expected: expression

    ohhhh so i have to make this in a function and then execute it from there?
  12. A

    compile error: expected: expression

    correct - amdnum is a variable okay i made the adjustments (aka copy and paste) and im getting another compile error Expected: line number or label or statement or end of statement doesnt make sense to me :s
  13. A

    compile error: expected: expression

    thanks for the reply, just have one more giving me a similar error INSERT INTO [China Ops] [Amendment Number] VALUES (andnum) WHERE "Item='" & glb_CHIITEM & "'" compile error: expected: end of statement
  14. A

    compile error: expected: expression

    Good Morning/Afternoon/Night (wherever you are) I am getting this error when i attempt to run this code and i am not sure what is happening????? i dont see any errors with this. Dim txtAcc As String txtAcc = SELECT Employees.Access_Level FROM Employees WHERE Employee_ID = XXXXXXXX)help please:)
  15. A

    search?

    oki doki. ill give it a try
  16. A

    search?

    so in your example, will this return the number of results along with the table name? or would i have to connect the two together myself?
  17. A

    search?

    not exactly. i searched the forms and came up short. off to google!
  18. A

    username on a label in form

    GENIOUS! Thanks :)
  19. A

    search?

    Thanks pbaldy. can you post a small sample for me please?
  20. A

    search?

    Good day Developers! - again lol Question: is there anyway to create a form that will search EVERY table in my database and return the amount of records in whichever table it was in? if that is possible i want to create that and then have a way to direct the user to one of those selections.
Back
Top Bottom