Questions tagged as 'delphi-7'

1
answer

Error saving data from a RadioGroup

I have a problem saving the information I select to a RadioGroup in the Database, after making the change that was suggested in this
asked by 11.01.2017 / 19:23
1
answer

Is it possible to connect to PostgreSQL via ODBC in Delphi 7?

I'm having a hard time connecting to the PostgreSQL database in Delphi 7 , I got it with Zeos Lib, however I need it to be via dbExpress the connection, then I saw that in the most current versions of Delphi it is possible to connect via O...
asked by 26.10.2016 / 13:40
1
answer

Error trying to add updated Fields in ClientDataSet

I'm trying to update my ClientDataSet's Fields with the new bank variables, but I came across the following error: Forwhatreasoncouldthisbehappening?JointheTSQLDataSet:selectE.*,S.SuprimentofromEstoqueE,SuprimentoSWhereS.Codigo=E.CodigoSupri...
asked by 28.10.2016 / 13:22
1
answer

Error trying to access certain bank information

I'm trying to access certain information from my database, but the following error is occurring: Excerpt where debugging occurs: IdHTTP := TIdHTTP.Create(nil); IdHTTP.Port := 80; IdHTTP.Connect(-1); IdHTTP.Request.BasicAuthentication...
asked by 11.11.2016 / 14:43
2
answers

Query executes FilterRecord only once

I have a query in tQuery that has the need to do FilterRecord. After displaying the data I do an internal search in the query for a more specific item, such as the name, but when I search the query it promptly performs the search correctly, when...
asked by 19.06.2015 / 14:46
1
answer

Working with AutoSize Form

I have a form with the property AutoSize = True , and two GroupBox one in the middle and another in the footer. There is a function that makes the GroupBox below invisible if it is visible and vice versa, and since the AutoSize property of...
asked by 04.06.2014 / 15:57
1
answer

Get file size in Delphi even while in use

I need to get the size of a file through delphi 7 however I am getting an I / O error because the file is being used. (The file is an .exe and is open) I have tried the following codes: function TamanhoDoArquivo(arquivo: string): LongInt; v...
asked by 20.06.2018 / 19:49
1
answer

Auto complete DBLookupComboBox

I have a DBLookupComboBox2 with the following information: 42-batata 45-cebola 78-caneca 49-faca 79-livro If the number is entered the search is done, but with letters it does not work. For example I want to type "bat" and have already sele...
asked by 23.08.2017 / 13:28
1
answer

Check mapped network drive size

I'm developing an application, and I need to check the free space on the mapped network drive, I can grab the contents of a file in the directory of my application, then I created a script to execute the command to check the free space in bat...
asked by 13.04.2017 / 21:38
1
answer

Invalid Pointer Operation - Delphi

I added a TClientDataSet (cdsTemp) to my Form screen, fine, and I deployed the fields of that TClientDataSet (cdsTemp) via code, like this: for i := 0 to (cdsAux.Fields.Count - 1) do cdsTemp.Fields.Add(cdsAux.Fields[i]); Notice...
asked by 21.02.2017 / 15:49