-
Content Count
888 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Stano
-
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; -
The problem is that I don't see the unit with resourcestrings in the component in the list. I'll try that anyway. I'll play with it.
-
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
DBGrid notes. When I started, I had it on the form for 3 days. Never more. I recommend VirtualStringTree (VST) instead. It works perfectly and you can do everything you can think of there. Because of it I created: A class for VST. This one takes care of the VST data for me. I have two duties. Create the SQL and handle the VST events Custom (DB)Navigator. So I'm relieved of bulk re-writing code. -
How to open Firebird 3 Database in FireDAC Delphi 11 (64Bit)
Stano replied to Blavatsky's topic in Databases
It's not off the top of my head. It saves resources and time. It works perfectly for me. I use it just in this case. -
How to open Firebird 3 Database in FireDAC Delphi 11 (64Bit)
Stano replied to Blavatsky's topic in Databases
Only: FDquery1.ParamByName('Index2').asInteger:=xxx // value of parameter fdquery1.Refresh; Don't forget to study the transactions. It's essential! -
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
I have never used LiveBindings. Nor will I do so. The main reason is that I have no control over it. It's also not very clear. -
How to open Firebird 3 Database in FireDAC Delphi 11 (64Bit)
Stano replied to Blavatsky's topic in Databases
You have all this on the website I gave you a link to. (https://docwiki.embarcadero.com) You just have to do a little searching. You'll have to dig around in the FireDAC section. Those " don't have anything to do there. -
You can already see by the picture that I have no problem with it. I would love to hide them!!! This is the main question:
-
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
Help You got it all on... First just a basic fix Give here an example of how you fill listview2.Items. We can't move without it Kindly name all your components in a meaningful way!!! procedure TForm2.ListView2ItemClick(const Sender: TObject; const AItem: TListViewItem); begin //// It has nothing to do here!!! /// It's supposed to be where you create FDQuery1 /// A separate function. For all Query FDQuery1.SQL.Text := ('Select strDrink,idDrink From drinks Where strDrinks = :idDrink'); /// Something like that FDQuery1.ParamByName('IDDRINK').AsInteger := TMyObject(listview2.Items.Objects[listview2.ItemIndex]).Value; try FDQuery1.Open while not FDQuery1.Eof do begin /// Tu niečo urobíš FDQuery1.Next; end; TabControl1.ActiveTab := TabItem8; finally FDQuery1.Close; end; end; -
get idDrink out of database , based on what is clicked in listbox
Stano replied to grantful's topic in Databases
You're going down a very bad road. ItemIndex has no meaningful value. I don't know TCustomListBox at all. I assume it has Items, which is a child of TString. It does the following: Name: string; ID: T.. - some class from TObject into which you can put an integer. Items.AddObject(Name, ID); You use T..(ID) as the parameter for Query; Details are in the tutorial. -
Good. So, for the last time If you send me your DB FB v.4 and csv file so: I'll get it into the DB you can build a new unicode application when it's working, I'll make you a new import From this perspective it is a one time action. I would rather spend that time on application development Let me know. Note: I own a very high quality DB manager DB Workbench v. 6. I appreciate it very much.
-
What did you create the DB in? It doesn't have an import? Interesting that you can't answer 2 simple questions I wanted to save you the trouble
-
I didn't know about that. Just out of curiosity two things. If you know. Does have it: Visual Query Builder Import data
-
Have a copy of the original report. Paste in the Detail and drag everything from Child2 in there. Delete that and you're done. 5 minutes.
-
Please don't put that text here. Who is supposed to analyze it? Put a screenshot of the assembly here. If I understand correctly, you don't have a problem anymore.
-
I made an extract from the report. Because you didn't put the slide here. You've got Master and Child. What happens if you put Detail instead of Child?
-
Do you really have no Dataset? I have now looked at the attached text and I see two I assume there is some link between them. I was referring to the classic DataSets. But I won't reveal that.
-
But he isn't. I think he's hitting the bull's-eye. Give here a snapshot of the main page of the FR report + DataSets.
-
What about csv? So a one-off action?
-
Can you divulge the state secrets in question? Plus: is this a one-off thing? The answer depends on whether I offer to help you.