Recent content by Miff3436

  1. M

    Auto run macro in access without task scheduler

    Hi, Thanks for the responses. THE_DOC_MAN, I totally agree with you and anyone else I have spoke to that understands what I am trying to achieve is that the Windows task scheduler is the correct option. I have spoken to the head of our IT and it is an absolutely straight NO. It's quite a large...
  2. M

    Auto run macro in access without task scheduler

    Hi, I have been playing around with this and have hit a bit of a stumbling block. You will know doubt think this is long winded but I like to learn by trial and error and not just googling for answers. I have created a table that has two fields in it 'LastImportTime' & 'CurrentTime'. Using...
  3. M

    enable textboxes if three criterias met in table

    Hi Minty, Thank you for clearing up the Nz question that makes a lot of sense now. Looking at your code that definitely simplifies things, much appreciated. Thank you all for your time and input on this thread, I will mark as solved. Thanks miff3436
  4. M

    enable textboxes if three criterias met in table

    Hi Auntiejack56, That is brilliant and works exactly how I need it. I have adapted the code so it will enable / disable textboxes / Command button on subforms as well. Dim strPermission As String strPermission = Nz(DLookup("PermissionType", "tbl_Admin", "OneLondonName = '" &...
  5. M

    enable textboxes if three criterias met in table

    Hi, I have a table called tbl_Admin, this has 2 fields in it that identify the users of my database, these are "Loginname" & "userpermissions". I am looking for a way to enable and disable certain textboxes on a form depending on the criteria in the userpermissions field. The db opens on a...
  6. M

    DblClick list box item to run query

    Hi arnelgp, Yes that has done the trick, perfect. Thank you all for your help with this issue it is now working exactly how I wanted / needed it to. Have a good weekend all Miff3436
  7. M

    DblClick list box item to run query

    Hi arnelgp, I did that and now I am getting the following: error 3464 Data type mismatch in criteria expression. I have been through and had a look where there could be anything different and really cant identify the problem Thanks Miff
  8. M

    DblClick list box item to run query

    Hi Lightwave, I used your code and have just altered the form name and the listbox name to suit. Private Sub List19_Click() Dim stFormName As String Dim stLinkCriteria As String stFormName = OpenNIDrillDown stLinkCriteria = "[RecordID]=" & Me.List19 DoCmd.OpenForm...
  9. M

    DblClick list box item to run query

    Hi Jdraw, I can double click a record from the listbox to run a query or open a form but not filtering the record to the one I have selected in the list box. I'm not even at the stage of getting errors to be honest and was looking for some guidance. Thanks Matt (Access 2010)
  10. M

    DblClick list box item to run query

    Hi all, I have an unbound listbox named Listbox19 on a form, it has 5 columns in it of which one carries is a recordId. I also have a query named drilldown that also has a recordID field. I was hoping to find a way that a user can double click on any item in the list box and it will run the...
  11. M

    Populate table fields when db is opened

    Hi pbaldy, The append query works perfectly, thank you for the quick response. Miff3436
  12. M

    Populate table fields when db is opened

    Hi, I have a table that has 3 fields in it, these are autoID, Date, and username. Is there a way that I can auto fill these fields each time the database is opened by a user. I do not want any user input and for date I will set the default value to =Now(), the username to capture the...
  13. M

    Auto run macro in access without task scheduler

    Hi Mark_ Thanks for the options to choose from. As my VB skills are at the beginner end of the spectrum i am going to try a config table first. I will feedback for other users once ive tackled it. Thanks again miff3436
  14. M

    Auto run macro in access without task scheduler

    Hi Minty, Thanks for the response. This sounds like an option, stick with me its been a long time since I used Access. So if I create a table that holds a system time + Date stamp of the first import. When the db is opened it will look at the last date in the table and if = today It will not...
  15. M

    Auto run macro in access without task scheduler

    Hi Is there a way I can auto run a macro that will import once in the morning and also delete the same table in the evening. My company have disabled and will not authorise anyone to have Windows task scheduler on their profiles. At the minute I have an excel workbook that is dumped into a...
Back
Top Bottom