Search results

  1. W

    Filter for a date range on a form

    What needs to be changed to get this code to work? No error message, just doesn't filter the record on the form I want to filter for just those records with the tickle date between today and 10 days from now... Thanks, Dave DoCmd.ApplyFilter , "[tickle date]= between today() and today + 10"
  2. W

    Clearing checkboxes

    They are bound, and the query did the trick. Thanks, as always, Bob.
  3. W

    Clearing checkboxes

    I am trying to clear the checkboxes [one for each record] when I close a form so it opens next time with none of them selected. I have tried 5 or 6 different ways to do this. =0 =Null ="" =false =no The most recent, below, doesn't work, either. No errors, just does not clear them. Private Sub...
  4. W

    VBA code for two-item filter?

    I am down to my last 10 paydays... Finally !
  5. W

    VBA code for two-item filter?

    That works! I can now figure out the different options my users need. Thank you both for your help. Dave
  6. W

    VBA code for two-item filter?

    Doesn't like that, either :) rTime error 5 Invalid procedure / call
  7. W

    VBA code for two-item filter?

    I forgot to attach it- sorry :) If Frame33 = 1 Then DoCmd.ApplyFilter , "[casestatus]='closed' AND [Assignedto]= Environ(UserName)" Thanks, Dave
  8. W

    VBA code for two-item filter?

    What I am doing is selecting the case status by whatever user is logged in to the computer. The 'and' works great but it doesn't like the environs....
  9. W

    VBA code for two-item filter?

    My code for an option group [below] works fine. I now need to to another option group that checks both CaseStatus and assignedto. Some help with the if statement to require both matches? Thanks, Dave Private Sub Frame22_AfterUpdate() Frame33 = Null If Frame22 = 1 Then DoCmd.ApplyFilter ...
  10. W

    Creating a second key number field for a form

    I think you understood the question. Now I will go to work and see if I understood your answer :) Thanks, Dave
  11. W

    Creating a second key number field for a form

    I just finished a customer demo of a new application. My customers asked me to build another form reached by clicking a command button on the main form. The two forms (and underlying tables) are tied via a tracking number (autonumber) field. They are planning on generating notes on this...
  12. W

    match records by tracking number in two forms

    Thanks for your help again, Bob :)
  13. W

    match records by tracking number in two forms

    Using Access 2007 I have two tables/forms that are linked by the field 'trackingnumber.' When I have the main form open I call up the second form via command button and need to have it open the record that matches the main form. Thanks, Dave
  14. W

    find record on form2 that matches the record on form1?

    Thanks, Bob- perfect!
  15. W

    find record on form2 that matches the record on form1?

    The record from form1 is just a user supplied ID- there is no table just the form. The record for form2 is from a table that contains the IDs that I need to match. Just one table and two forms with IDs- I want the second form to open to the record that matches the ID on the first form
  16. W

    find record on form2 that matches the record on form1?

    Everything I have tried so far just changes the ID of the record on form 2... I just want the matching record :) Thanks
  17. W

    Access 2007- Turn on Calendars for all date fields?

    I thought I saw a 'display calendar for date fields' command and now can't find it. I have tons of date fields and would prefer not turning them on all over in the database. Where is this hiding from me? Thanks, Dave
  18. W

    msgbox format and syntax

    I needed this info also- found it using search. Won't allow me to add to reputation again :), but the code is great! Thanks :)
  19. W

    Null Query

    Thanks, Bob. It runs perfectly :)
  20. W

    Null Query

    I have a select query that works perfectly. If the query is empty I want a messagebox that tells the user there is no matching record. I can't seem to get the code to do this. I have been working with the NZ() function but can't make it work... Can someone get me started? Thanks, Dave
Back
Top Bottom