Jump to content

limelect

Members
  • Content Count

    835
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by limelect

  1. limelect

    SQL problem

    @Lars Fosdal OK I put a very simple 1 line database with "like" statement So check it out. Add or delete text and see for yourself Compiled with D10.2.3 with source TestLike.zip
  2. limelect

    SQL problem

    @Attila Kovacs It is not a nice response. You do not know my application and my professional reasoning.
  3. limelect

    SQL problem

    @Attila Kovacs Reasons for my application
  4. limelect

    SQL problem

    @Lars Fosdal YES
  5. limelect

    SQL problem

    @Lars Fosdal Unfortunately all those 'like' explanations are known to me Or would you like me to make a small DB source to examine the problem? and put it here?
  6. limelect

    SQL problem

    @Lars Fosdal I invite you to enter my computer and see for yourself with our private communication
  7. limelect

    SQL problem

    @Lars Fosdal this F7 full statement output that works 'Select SectionsId,MainDirectory,MyDateTime,ProjectName,ProjectrealName,Category,FileMask ,Description,FilesIndex'#$D#$A'from Files,Projects'#$D#$A'WHERE MainDirectory LIKE ''%G:\Delphi Projects\image32_3.2.2%''AND SectionsId=FilesIndex' As you see no problem
  8. limelect

    SQL problem

    @Lars Fosdal NO escape but i see there are 2 more possibilities SUBSTRING and containing from containing does not work unless i do not know how to use it
  9. limelect

    SQL problem

    As i can see there is a 'SUBSTRING' so how to use it?
  10. limelect

    Huge memory problem

    I need your advice returning to my problem -out of memory. I have this free program https://limelect.com/downloads/document-projects/ that came out of my need. After 40+years of pascal/Delphi, I have a large number of projects/programs I do not even remember their content categories and more. The record includes text category pictures and more describing the source and program. Just started and I have 730 records with a 1.56 GB database (FireDac) size. So fixing the software does not seem to have an option? My DB file will grow to be very large. 1. I suspect I will have thousands of records 2 What is the theoretical size FireDac can handle? 3. Is it possible to fix my program with software? 4. I was thinking of splitting the DB. 5. Can the DB be manipulated on disk and not on RAM? 6. I am looking for a solution that will NOT cost money as it is a free program. 7. Installing other software like MS SQLserver is not an option. 8. I need a local/or any solution. 9. On a commercial program I have in a company I use MS SQLserver 2008 without any problems. Years of work and no problems. What are my options? Or what is my thinking wrong? Sorry if my need is too long.
  11. limelect

    Huge memory problem

    For now, everything works. I will work with the program for weeks and see what happens.
  12. limelect

    Huge memory problem

    @Hans J. EllingsgaardAll searches are with query For now, the search is OK. I changed the SQL statement . P.S Empty searches do make memory problems. The strange behavior is now on insert where I cannot pinpoint the problem. I am not sure where is the problem yet.
  13. limelect

    Huge memory problem

    @Hans J. Ellingsgaardmaybe it is feasible for a search but not for insert where I have that problem too. While searching for a solution on searach I found that if I have an EMPTY text to search I get a memory problem
  14. limelect

    Huge memory problem

    I use query and table. It seems that query has the problem I will write a test program for 1 query and see what happens
  15. limelect

    Huge memory problem

    @Lars FosdalThanks I thought so too but did not find any external something to Delphi. It is close to us (Delphi). I loved the use of it since it has no DLL.
  16. limelect

    Huge memory problem

    @Lars Fosdal It seems that most pas files associated with FireDAC are not accessible. Furthermore, is there a way to know what is going on with my SQLite? while executing? DEBUG? I think this is not given by Delphi. So I will revert to my test as I wrote before.
  17. limelect

    Huge memory problem

    @Lars Fosdal Thanks i will check it
  18. limelect

    Huge memory problem

    The leak is not a problem to a professional
  19. limelect

    Huge memory problem

    @Vandrovnik YES . Actually, no need if you have FastMM4, if TogFirst.IsFirstInstance then begin ReportMemoryLeaksOnShutdown := True; Application.Initialize; Application.MainFormOnTaskbar := True; Application.CreateForm(TForm1, Form1); Application.CreateForm(TfmDropDown, fmDropDown); Application.Run; end else TogFirst.ActivateFirstInstance;
  20. limelect

    Huge memory problem

    @Lars FosdalNo leak first thing I do to check it. uses FastMM4,
  21. limelect

    Huge memory problem

    @Lars Fosdal you are correct my DB is SQLite. When I SQL or add records all gives me memory problems. What I think I will do I will write an investigation program with my actual database to analyze my use so I will decrease the program to a manageable logic of one function.
  22. limelect

    Huge memory problem

    @David HeffernanBy no means I am willing to redesign the DB concept if I knew there is a good solution like MS server for example. The only problem I will not give my user to install the MS server. Why I wrote my problem because someone might come up with a good dB that i do not know
  23. limelect

    Looking for a localization tool

    I have been using for years https://github.com/yktoo/dklang
  24. limelect

    Code folding

    D10.2.3 I could not find any ICON to put on my toolbar for Code folding. is my only option is Ctrl+Shift+K+O ?
  25. limelect

    HoursBetween

    Rx librery in it use RxDateUtil.pas
×