Recent content by JayAndy

  1. J

    Grab Field name

    Hi I have a Form with a Crosstab in there. Is it possible to use VBA to grab what is the active column (Field Name) is when you click in it. Thanks
  2. J

    Opening another DB in Access Runtime

    Thanks Error Handling is in there. Error l get is Error 429: ActiveX component can't create object No code on the other DB just opens a display form. Have put in message boxes and the problem is the above code. Have Option Explicit to the top and run Complie runs start through.
  3. J

    Opening another DB in Access Runtime

    Thanks CJ_London Have tried Removing the () and are still getting the same error. In answer to your question, sorry, yes; the terminology is wrong. There shouldn't have been a DB. We are using Access 2016 to build the database and Microsoft Access 2016 Runtime to run it. It works without any...
  4. J

    Opening another DB in Access Runtime

    Thanks JHB but still the same problem and error.
  5. J

    Opening another DB in Access Runtime

    Hi I am using the below code to open another Access Runtime DB Dim accapp As Access.Application Set accapp = New Access.Application accapp.OpenCurrentDatabase ("C:\IAS\Txing.accdb") accapp.Visible = True "I am getting the error saying Error 429: ActiveX component can't create object" Can...
  6. J

    Retrieve Subfolders Properties

    Thanks Static but still only does the top files in the path.
  7. J

    Retrieve Subfolders Properties

    It was the comments of the person how created it.
  8. J

    Retrieve Subfolders Properties

    Hi All I'm trying to get a piece of code together to run through folders to see which ones haven't been used in a long time. I have managed to find and change a piece of Excel VBA code below but only gives me the information for the top files. Anyone have an idea of how to run it so it gets me...
  9. J

    Spilt form filtered data to excel export.

    Hi Everyone I am trying to export the data l have filtered in the Spilt form but can't find how to do it anywhere. Some of the fields that l wanna export are not visible in the top half but are visible in the datasheet at the bottom. Does anyone know if this can be done.
  10. J

    Editing an recordset

    Thanks for your Reply have Tried that and Put a Left join on there and can edit it in the Query designer but still get the same error message
  11. J

    Editing an recordset

    Hi All Im am trying to edit this record set but keep getting: Runtime error 3027 Cannot update. Database or Object is read only. This is code l am using. Dim db As DAO.Database Dim rst As DAO.Recordset Dim StrString As String StrString = "SELECT Timein.ID, Timein.[Employee Name]...
  12. J

    Dlookup with Mutiple Criteria

    Thanks but when VBa does like "' AND MyDate = #" Part and comes up with error: Complie error: Expected list separator or )
  13. J

    Dlookup with Mutiple Criteria

    Hi All The below syntax l have created from the information on the web but still get a Syntax error. DLookup("ID", "Bill", "Customer = " & Forms!Bills!Customer _ & " AND Date = '" & Forms!Customer!Today & "'") What am l doing wrong. Thanks
  14. J

    Print Report from form without opening Report

    thanks it works now!!
  15. J

    Print Report from form without opening Report

    Thanks tried that but still print the form
Top Bottom