Search results

  1. V

    Default Form Search ..can it search subforms?

    Thanks Mstef, I tried searching at the bottom but it doesnt seem to search through the subforms...cheers vb
  2. V

    Default Form Search ..can it search subforms?

    Hi guys, I have been using the search box at the bottom of my form next to the record selectors to do searches for records. I would like to find out whether it is possible to make the search box search the subforms on the main form as well as the main form fields? Thanks! VB:)
  3. V

    Multi-Select LIstbox can it be searched easily?

    Thanks very much!:)
  4. V

    Multi-Select LIstbox can it be searched easily?

    Cool! Thanks again!:D
  5. V

    Multi-Select LIstbox can it be searched easily?

    THis seems to work ok; would it be frowned upon to use it this way? txtSearchResults.Value = "Your search returned " & rst.RecordCount & " supplier(s)."
  6. V

    Multi-Select LIstbox can it be searched easily?

    Oo that looks nice what does the movelast/first mean?? Can I still put the text into the last expression to make a sentence??
  7. V

    Multi-Select LIstbox can it be searched easily?

    And this works too! Me.txtSearchResults.Value = "Your search returned " & record_count & " supplier(s)." :D
  8. V

    Multi-Select LIstbox can it be searched easily?

    Cool, I did this: dim record_count as Long Me.Filter = strWhere Me.FilterOn = True record_count = Me.RecordsetClone.RecordCount Me.txtSearchResults.Value = record_count and it worked! Thanks again you are very clever!!
  9. V

    Multi-Select LIstbox can it be searched easily?

    Morning vbaInet, I have tried to use the following code to set the controlsource of a textbox above the search results to count the suppliers: Me.txtSearchResults.ControlSource = "=Count([ser_sup])" It works but it is slower than the filter and only pops up after the filter has displayed the...
  10. V

    Multi-Select LIstbox can it be searched easily?

    Thanks vbaInet, I will give it a go! Is there a way to set the output field of the filter (mine is outputting the name of the supplier into a text field) to "no criteria match your search.." if there are no suppliers that meet all the criteria instead of displaying nothing? Would you set the...
  11. V

    Multi-Select LIstbox can it be searched easily?

    Morning vbaInet, Yes that did work when you gave it to me the other day, but then I realised that it needed to AND the bits within the INs so that I got ANDs for those instead of ORs because you said the other day that the (,) creates ORs instead of ANDs...
  12. V

    Multi-Select LIstbox can it be searched easily?

    Hi vbaInet, Thanks very much, you said that to make the search only return answers based on exactly what the user selects (instead of an OR which the IN('AB','AL') creates) to concatenate them...so I tried doing it and came up with the code above...so is there another way of doing it cos you...
  13. V

    Multi-Select LIstbox can it be searched easily?

    Ta daaaa!! After a whole day of fiddling I finally figured out what was wrong with the filter! There was a piece of code that set the recordsource="" !! I think I figured out how to concatenate everything together it looks much less complicated now..is this the best most efficient way to do...
  14. V

    Delete Record and Subform Records

    Haha yeah that would be funny, you too! Tomorrow I will be mostly fixing all the other problems that a change in the requirements has caused! I wish I was an expert!
  15. V

    Delete Record and Subform Records

    Haha Noo and they dont come with sound or movement!
  16. V

    Delete Record and Subform Records

    :)fun...hmm not so sure!
  17. V

    Delete Record and Subform Records

    Thanks v much James!
  18. V

    Delete Record and Subform Records

    Cool thanks James, so should i get rid of the dirties??
  19. V

    Delete Record and Subform Records

    The button is.. cmdDeleteSupplier
  20. V

    Delete Record and Subform Records

    Hi James, I have attached it, the Form name is Suppliers and the supplier name is Sup_Name. Thanks v much!
Back
Top Bottom