zMemTable issues lazarus / 63-Database ---------------------------------------------------------------------- tdb · 2024-10-30 02:57 Couple of issues with Zeus Lib - zMemTable How do I use the visual controls - I created a zMemTable i.e. dropped on the form. Set all the properties as required, then created fields I need etc. When I run the form it crashes when the zMemTable is opened. As a work around I coded the creation on all fields then opened the table this works all good. Except small clear box appears on the form top left and overlays the objects underneath. Is there something I am forgetting to set for the mem table - looked for visible option but not available. This small square is likely the icon for the zMemTable which I already have on the form. ---------------------------------------------------------------------- Thaddy · 2024-10-30 08:08 Connect it to e.g. a TDbGrid. It is not a visual component, but a data provider. ---------------------------------------------------------------------- tdb · 2024-10-30 08:28 Quote from: Thaddy on October 30, 2024, 09:08:29 amConnect it to e.g. a TDbGrid. It is not a visual component, but a data provider. Thanks for the reply. I do connect the zMemTable to a DBGrid and all works fine. The issue is that on the form top left an invisible box overlays the form see image attached. ---------------------------------------------------------------------- Thaddy · 2024-10-30 08:45 That should only be the case during design time. If you run your program it should disappear... ---------------------------------------------------------------------- tdb · 2024-10-30 11:52 Quote from: Thaddy on October 30, 2024, 09:45:02 amThat should only be the case during design time. If you run your program it should disappear... No exactly the opposite at design time I can see the zMemTable and I can place it on the form (it is towards the bottom of form). When I try to open it give 'field not found xxxx' where xxxx is the first field in the table  if I visually check the zMemTable all fields are defined. If leave the zMemTable on the form and create the zMemTable fields programmatically then I can open the table all is well except for the little square at the top of the form (see picture) if I remove the code the square goes away. ---------------------------------------------------------------------- paweld · 2024-10-30 12:07 Which version of Zeos are you using? preferably you should also attach a sample project. ---------------------------------------------------------------------- tdb · 2024-10-31 02:14 Quote from: paweld on October 30, 2024, 01:07:07 pmWhich version of Zeos are you using? preferably you should also attach a sample project. Not sure how you find out what version you are currently running I opened the zdataset but no version info in the file. Anyway I checked my downloads and this should be the version details 8.0.0-stable build at 2024-04-07 12:29:02 Checking Zeus website this is the currently offered version. Also I created a separate test.pas file with the zMemTable and when I ran it did not cause the issue so I have no idea what to try next. Searched all the .lfm code and .pas file there is nothing created in the top left. Also with out the code to create memtable fields all works (except table) but when I add that back I get the small square at the top left!!! Also one other question with the Delphi memtable you were able to drop the memtable on the form setup the fields then just open and use. With zMemTable you can do the same but when you open the table if say field not found? ---------------------------------------------------------------------- paweld · 2024-10-31 06:05 Quote from: tdb on October 31, 2024, 03:14:43 amAlso one other question with the Delphi memtable you were able to drop the memtable on the form setup the fields then just open and use. With zMemTable you can do the same but when you open the table if say field not found? Yes, I also have this error. Report the error in the Zeos forum: https://zeoslib.sourceforge.io/vie wforum.php?f=50&sid=4692bfccadb444c2dd7fba7e7a015a7b ---------------------------------------------------------------------- tdb · 2024-10-31 07:45 QuoteYes, I also have this error. Report the error in the Zeos forum: https://zeoslib.sourceforge.io/vie wforum.php?f=50&sid=4692bfccadb444c2dd7fba7e7a015a7b I checked the Zeos board could not find any previous post about that issue so posted new item, hopefully somebody knows the answer and will respond or Zeus will notice etc.