Questions tagged as 'delphi'

2
answers

Attempting to quickly open a huge table with FDTable

Hello, the problem I'm facing is: I have a table with 120,353 records I need to make a general correction on the table and how much do I try FDTable.Active := True gets in process endlessly ... I'm using FireBird 2.5 ... What to do? tab...
asked by 31.08.2017 / 23:27
3
answers

How to store Memo contents in string variable in Delphi?

I need to store the content of Memo1 in a string variable, but that did not work: sHTML := Memo1.Lines;     
asked by 27.09.2017 / 14:18
4
answers

How to check for changes to a ClientDataSet

I use Delphi XE7 , I need to check if I have inserted / edited in ClientDataSet before closing a particular screen, but I can close the screen and it is no longer in insert / editing and even had some change in the DataSet, so I need som...
asked by 16.03.2017 / 15:57
1
answer

Access violation when creating Thread

I'm getting the error:    Access violation at address 00420214. Write of address 0000000E. When creating a Thread. The error line is exactly the creation line (marked with '&'). In uses I added Unit3 (the thread) In var , I...
asked by 12.01.2015 / 15:42
2
answers

Delphi - How to assign data in a multidimensional array in a single command?

I'm trying to do the following but it's not working: Var MyArray: array[1..3] of array[1..3] of Ttime; Begin MyArray:=( ( StrToTime('08:25'), StrToTime('08:25'), StrToTime('08:50') ), ( StrToTime('09:25'), StrToTime('08:25')...
asked by 20.06.2018 / 21:27
3
answers

Mouse Click without moving the Screen Cursor

I am doing a simple system, in this FORM has 2 button, one that executes the function and another that I put a SHOWMESSAGE('teste ok'); and I got the POSITION of that second BUTTON, remembering that I need to use SENDMESSAGE for th...
asked by 12.04.2014 / 22:28
1
answer

How to reference the goal property created with 'with TEdit.Create (Self)'?

How to reference ownership of a goal created with with TEdit.Create(Self) , and will it be used in another object that is also being created as with TSpeedButton.Create(Self) ? Follow the code: with TEdit.Create(Self) do begin...
asked by 28.10.2017 / 16:22
2
answers

How to optimize Firebird 3?

Does anyone who works with Firebird 3 know exactly how to optimize the SGDB to be more efficient? So far I have done some tests with Firebird 2.5 and 3 to compare queries, and basically it continues the same thing. Update I realized that op...
asked by 22.06.2017 / 19:43
2
answers

How to generate PDF report firemonkey android?

I need to generate a PDF report on android firemonkey, I'd like suggestions for components or ways to do it.     
asked by 07.03.2017 / 15:04
2
answers

Left Join with multiple fields from the same table

To set up a lease, I have two tables. The first one is the contract, it has some relationship fields like id_locador , id_locatario , id_fiador1 , id_fiador2 , among others. These fields are related to a people table:...
asked by 11.01.2017 / 10:54