-
Content Count
882 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Stano
-
You mean this site: https://bitbucket.org/anders_melander/better-translation-manager The one I wrote about is clean.
-
Some instructions for use.
-
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
Have you decided which DB? -
Save. Save as.. is OK
-
Excellent. Please and what about the help?
-
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
In that case, choose a better database. Because SQLLite stores everything as strings. Completely free and very powerful is Firebird. Just think carefully about the DB structure. Draw it first. I use DIA for this. I highly recommend it. It is simple and easy to understand. No instructions. By that I mean tables table arrays field properties - NOT NULL and so on relationships between tables and other -
I'd like to have some guidance so I don't post so much here. The link to your page will show it clean. I will send the project.
-
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
If IDDRINK is the primary key, then you can directly view all records with all fields. Why is it good to display it separately? -
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
Interesting. Because I don't see it there: Primary table key IDDRINK, which should be a foreign key How many of those stringrediantsX type fields are there? Who came up with such stupid field names? There's no human way to work in that. -
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
Hm, does that mean IDDRINK is repeated in the table? What are you going to do with that list? Its purpose. No translator will translate the field name, the rediant part Out of curiosity: which DB is it? -
Thank you. They cannot be described as "Do not translate".
-
How can I hide these items? I have 184 items displayed. I am interested in about 75 items.
-
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
I went through the discussion again. I don't understand what you actually want to do. The description of the task is incomprehensible to me. Is it supposed to be a Master-Detail relationship? Are you working with one table or two? Can you put a snapshot of the form in question here? I'm sure that would help a lot. Why do you want to go into live bindings? Why do you need this? -
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
I've written once before that everything associated w/in DB should be capitalized. And name of component!!! * is only used in special cases. You always have to enumerate the required fields. FQryDrink.SQL.Text := 'SELECT * FROM DRINKS WHERE IDDRINK = :IDDRINK'; Why are you mixing Integer and string types? ItemIndex is not what you need. FDQuery1.ParamByName('IDDRINK').AsInteger := (TListViewItem(lvDrinksListview.Items.Item[lvDrinksListview.ItemIndex]).Text); I have never worked TListView in my life. So I looked at the TListItem properties It doesn't seem to me that it's something thrown in for you. It's too complicated. I assume you only need to display simple texes. Then I see two components suitable for you: ComboBox - only one item is visible VirtualStringTree (my favorite) - if you want to see all items Decide and let me know. Because your style will get us nowhere!!! -
I never claimed that this is a BTM problem. I was looking for guidance and failed. I already have it in the project. Only now have I found out that I was searching wrong. I already have it I was looking for the title but I should have been looking for the content
-
I added a resourcestring to the form. Nowhere, drc and project BTM, no change. unit UPokusActionBar; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Actions, System.ImageList, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ActnList, Vcl.ImgList, Vcl.ActnMan, Vcl.Buttons, Vcl.DBCtrls, Vcl.PlatformDefaultStyleActnCtrls, Vcl.StdStyleActnCtrls, Vcl.XPStyleActnCtrls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.VirtualImageList, DBAccess, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, FireDAC.Comp.DataSet, FireDAC.Comp.Client, VirtualTrees, jstEnNavigator, jstVirtualStringTree, dmBasic, MemDS, IBC; resourcestring aa = 'bbb'; type TForm2 = class(TForm) vilLitN: TVirtualImageList; vilLitD: TVirtualImageList; vilLitH: TVirtualImageList; vilLrgN: TVirtualImageList; vilLrgD: TVirtualImageList; vilLrgH: TVirtualImageList; ds1: TDataSource; ibds1: TIBCDataSource; ibtbl1: TIBCTable; fdtb1: TFDTable; jstvst1: TjstVirtualStringTree; jstnv1: TjstEnNavigator; end; var Form2: TForm2; implementation {$R *.dfm} end.
-
The project consists of a single form and a DataModule. The content of the form can be seen in the image.
-
No. I did. After the update, one item was added to the project. I have no idea which one. Files Pokusy.drc, Pokusy.exe and Pokusy.xlat are together in one directory. The other files, dpr..., are elsewhere.
-
How to open Firebird 3 Database in FireDAC Delphi 11 (64Bit)
Stano replied to Blavatsky's topic in Databases
Do you have any particular reason for a 64 bit application? Even the 32 bit app works with 64 bit FB! -
The component itself is in the jstEnNavigator unit. But the resourcestrings are in the LocNavigator unit. I have moved the resourcestrings to the jstEnNavigator unit. No change.
-
No, it's not there. The point is that it's a custom navigator drop on the form. Maybe something needs to be done in component. I'd love to get my hands on a newer version. The internet hasn't helped me.
-
I have: amTranslationManagerInstall-2.0.8370.39904 - year 2019 So I went through it. I have understood/figured out where and how to get to the filters. How the filters and Find work. I searched for pumAutoIns from: LocNavigator unit; resourcestring pumAutoIns = 'Automatically insert the next record'; Unfortunately, it's not there
-
I'll check it out.
-
How to open Firebird 3 Database in FireDAC Delphi 11 (64Bit)
Stano replied to Blavatsky's topic in Databases
No! This means that you have the wrong DB path. Or name? -
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
That could never work. You're remembering wrong. One more time: TMyObject(listview2.Items.Objects[listview2.ItemIndex]).Value;