Search results

  1. amorosik

    Filter property or sql Where? OrderBy property or sql Order by?

    Which is the best way to select rows in the current recordset? How do you filter the recordset to display on a form/report? Are there any specific reasons for using the first or second method? Personally, I almost always tend to use SQL string selections, which are then passed in their entirety...
  2. amorosik

    If ANY libraries are missing from the references, the date() function won't work.

    In my case, the offending library was the last one (the first four aren't visible in the list, but they're there; the cursor is at the bottom to show the missing library) And no function contained in it was ever called from code But even in this case, and therefore regardless of the loading...
  3. amorosik

    If ANY libraries are missing from the references, the date() function won't work.

    That's exactly how it is :ROFLMAO:
  4. amorosik

    If ANY libraries are missing from the references, the date() function won't work.

    I'm referring to a problem I recently encountered Discussing with some colleagues, it seems that the lack of any external references impacts the correct functionality of date-related functions Does anyone know the reason for this strange effect?
  5. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    In fact, even with the Erp2_Function1 library loaded, everything works correctly now. I forgot to register the DLL file. :mad:
  6. amorosik

    Future of Access

    I've used CR from version 5.0 onward on projects created with Visual Basic 6.0. Even recently, when it entered the SAP umbrella, I used version 2020 to print reports and allow the end user to edit them independently In my opinion, it's an excellent tool, superior to Access's native reports
  7. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    Thank you for generously sharing an enviable experience It should be noted, however, that it's still unclear why using that library breaks everything It seems harmless.
  8. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    Bingo !!! The difference between program 1 and program 2, besides some changes to the 'articles' form, was that in program 2 I added a reference to a DLL I wrote using TwinBasic just to do some experiments and understand how it worked. The DLL code is this: Public Class MyClass Public Function...
  9. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    That's correct. Since it's a particularly strange problem, I set up a virtual machine with a clean Windows 10 and installed the entire package with just the runtime. And the problem with program2 persists. While with program1, everything works correctly. Then I installed the full Access, and...
  10. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    Then, to avoid ambiguity, what is the better way?
  11. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    Right, I hadn't thought of that. It might work. I'll test it as soon as possible.
  12. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    Yes, program1 and program2 link tables from the same DNS and therefore from the same database. The REGISTRATION_DATE field is a timestamp, and both program1 and program2 see it as a timestamp. What do you mean by 'explicitly relink' the tables?
  13. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    Yes, of course I could do that. I simply should modify the dateSQL function and make it return the date exactly as passed The point is: the system has worked this way for years, for dozens of different versions Why should it work differently now? But above all, why does program1.accde still work...
  14. amorosik

    Program1 works fine, program2 doesn't, due to a date problem, but code inside are the same

    This is truly incredible (at least for me). Program1.accde becomes program2.accde after some changes to the 'articles' form. Both program1 and program2 work correctly on the development PC, with Win10 with Access 2013 32bit Let's move to user PC2, a Win10 pro pc, where only the Access runtime...
  15. amorosik

    Is there a way of deleting all code lines beginning with debug.print across all modules using VBA?

    Simple and effective But if the program were transformed into mde/accde and the debug.print files were eliminated, could there be any benefit?
  16. amorosik

    How to access the same database file between two projects in a Visual Studio Solution?

    He didn't ask how to turn on the phone with Maui, but how to read an mdb/accdb file from an app on the phone And the discussion is far from stupid, but it's very interesting for all Access users who have a smartphone
  17. amorosik

    How to access the same database file between two projects in a Visual Studio Solution?

    No He asked how to read an Access data file Not how to run Access on his phone.
  18. amorosik

    Trump Administration Predictions

    Don't make up things I didn't write ("..you think the Jew....") Regarding the hostages, it doesn't seem like a priority for the current Israeli leaders The clear primary objective is to annihilate the Palestinian population and occupy the territories, Palestinian territories
  19. amorosik

    How to access the same database file between two projects in a Visual Studio Solution?

    You're not the one who has to think about how the system should be set up The colleague asked some questions; if you know the answer, you can help him Otherwise, save the ink
Back
Top Bottom