Recent content by xavier.batlle

  1. X

    Label not showing on subform if value is 0

    I've tested the arnelgp code indexing on the Region field and it's surprising how some Dcount() improve their performance and others don't. === Withoud indexing============== DCount("*", "SalesRecord", "Region='Europe'") Result: 271901 in 0,14453125s DCount("Country", "SalesRecord"...
  2. X

    Label not showing on subform if value is 0

    I'd like to add that if there are Null values in the column you are counting you may get unexpected or unwanted values. DCount("*", "SalesRecord") Result: 1048575 in 0,015625s DCount("Country", "SalesRecord") Result: 1048570 in 0,125s DCount("1", "SalesRecord") Result: 1048575 in 0s
  3. X

    Never seen this error linking a form

    C&R means Compact and Repair. I'd also suggest to decompile the database.
  4. X

    Solved Troubleshooting Subform

    You have to unlock the subform on the Private Sub cmdAddNewRecord_Click() event Me.sfr_PcsSetBOM.Locked = False
  5. X

    Match the primary Key in the Main form to the foreign key in the Subform

    If you wnat to achieve something similar like this: There are several ways to achieve it. This is my approach
  6. X

    How Sql Server can interact with Microsoft Access (or other application) ?

    Wait! It works for me if I assign a letter to the shared folder:
  7. X

    How Sql Server can interact with Microsoft Access (or other application) ?

    You are right! It doesn't work on a shared folder!:(
  8. X

    How Sql Server can interact with Microsoft Access (or other application) ?

    If by "remote directories" you mean, shared folders on the server, sure! I haven't tried it yet, but I'm sure it will work.
  9. X

    How Sql Server can interact with Microsoft Access (or other application) ?

    Perhaps another approach could be, to create an asynchronous File System Watcher using WMI Events. If the SQL Server is able to create a file in a folder that MS Access is monitoring then the MS Access Application can do some stuff when files are created in this folder I've never used it but I...
  10. X

    How Sql Server can interact with Microsoft Access (or other application) ?

    According chatGPT it's possible, you'll have to research the topic. This is some of the information I've found: A) Start MS Access remotely via PowerShell Remoting (background) 1. Enable remoting on the remote PC (once) On the remote computer (as Administrator): Enable-PSRemoting -Force...
  11. X

    How Sql Server can interact with Microsoft Access (or other application) ?

    After some research, I came across that it would be possible to execute a remote instance of MS Access Using PowerShell, so you could execute that instance using /cmd command to execute whatever task you wanted. It's not a piece of cake, but it seems it's a real possibility (I've never tried it)
  12. X

    Date format reverts back to previous format

    And also the Mask (Textbox Property) that's used when you enter data in the textbox.
  13. X

    Solved Code running report despite default set to not

    Can you upload this database with only this form or part of it to see the issue?
  14. X

    Solved Code running report despite default set to not

    BlueSpruce, Out of curiosity, only for testing, have you tried to delete all the database objects the except the form with the button with that issue? or Import only this form in a new database? (I know you've said if you import all the objects in a new database the behaviour is the same)
  15. X

    Solved Report resolution fix, maybe

    I don't know if this will help: https://learn.microsoft.com/es-es/office/vba/api/access.printer.printquality Private Sub Report_Open(Cancel As Integer) ' VBA constants 'acPRPQDraft 'acPRPQLow 'acPRPQMedium 'acPRPQHigh Me.Printer.PrintQuality = acPRPQDraft ' Draft...
Back
Top Bottom