Search results

  1. MarkK

    Encountered strange interaction between Excel data and MS Access Link / Import

    365, but I doubt this is a bug that varies with Office versions. There is something else going on.
  2. MarkK

    Mapping VBA Code to show tables affected by VBA

    Hey Ben, paste your code into ChatGPT, and ask the AI what it does. I pasted in this class... Implements ICommand Private obj_ As Object Private name_ As String Private sub_ As String Private prp_ As String '******************************************************** Aug 16 2024 ***** ' '...
  3. MarkK

    Encountered strange interaction between Excel data and MS Access Link / Import

    On my machine the link provides an exact match. As far as the table data goes, you have not specified how you did the import, so we can't test your process.
  4. MarkK

    Mapping VBA Code to show tables affected by VBA

    To understand what VBA code does, you need to look at and understand the VBA code. The code itself is the "map."
  5. MarkK

    OpenArgs issue..

    If you are only returning two states you can shorten the code a bit...
  6. MarkK

    This database was created with the 64-bit version of Microsoft Access. Please open it with the 64-bit version of Microsoft Access.

    What kind of security? I mean, you declare yourself and Access newbie, and it sounds like you are in a development process, so just distribute .accdb files. Put functionality way out in front of security.
  7. MarkK

    Solved Forwarding the port number to access Tomcat server in MS Access

    Maybe you can describe in greater detail what this means.
  8. MarkK

    Extracting characters embedded in a string

    Debug.Print "DSPT" & Split("7501243706 For Transaction: 7501021926DSPT21174531807", "DSPT")(1)
  9. MarkK

    Custom event whine

    I have actually only seen this happen if the WithEvents variable is declared in a SubForm (and only if that variable still has another valid reference to it, like the global event raising class you describe). I had exactly this symptom, that the main form had closed, but multiple instances of...
  10. MarkK

    Custom event whine

    A WithEvents variable must hold a list of references to objects in which it is declared, since it needs to call back to them when it raises an event. If you close a form that contains a WithEvents variable that has another pointer to it, it doesn't go out of scope, nor does its reference list...
  11. MarkK

    Custom event whine

    The triviality of the solution IS the triviality of the problem.
  12. MarkK

    Solved Database backup

    My FE does auto-backups on the BE routinely. I have been doing this for probably 15 or 20 years in a multi-user environment with an MS Access file as the BE on a server. There has never been an issue. I take copies of the BE home with me on a flash-drive, routinely making that copy while...
  13. MarkK

    Solved Database backup

    Easiest to do this In VBA, in the database itself... Sub BackupCurrentDatabase() Const BACKUP_FILE = "W:\common\Reports\dbbackup\DB_BU_{0}.accdb" With CreateObject("Scripting.FileSystemObject") .CopyFile CurrentDb.Name, VBA.Replace(BACKUP_FILE, "{0}", Format(Now...
  14. MarkK

    Check for Internet Connection

    Here's a Ping function... Function Ping(ServerName As String) As Boolean ' returns true if the server responds ' to ping a url, remove the protcol, like https://, ' eg: google.com Const PING_CMD As String = "%SystemRoot%\system32\ping.exe -n 1 -l 1 -w 500 " Ping =...
  15. MarkK

    Solved Urgently needed a third party QR code generator seller for MS Access Invoices

    If you are offering to purchase, what is your offer? I wrote a .NET command line program that I call from VBA like this... Public Sub QRCodeCreate(Payload As String, Filespec As String, Optional PixelsPerModule As Integer = 10, Optional Async As Boolean = True) Dim Command As String...
  16. MarkK

    Harris/Walz Ticket

    Watching AccessBlaster pedal backwards.
  17. MarkK

    Harris/Walz Ticket

    And it is apparent you know something, possibly everything, about hyper-partisanship.
  18. MarkK

    Solved What is the key of dynamic forms in the Forms object?

    If the form does not have a module, you cannot create an instance using... Dim frm As Form Set frm = New Form_fNoModule Only forms with modules are considered "Microsoft Access Class Objects". Forms without modules, for instance, do not appear in the VBE Project Explorer window. But in the...
  19. MarkK

    Harris/Walz Ticket

    No, I agree, but I am making the point that the failure you describe is not partisan, and not confined historically to the current administration. To your argument the solution is change of administration. To my argument the solution is that US politicians and electorate put aside their petty...
Back
Top Bottom