Questions tagged as 'delphi'

1
answer

Concatenate SQLQuery loop result

I have a loop that scans a table, I need each row a string type variable to be incremented with the respective records. Usage FDQuery and FDConnection . Here's an idea of what I need var linhas : string; while not eof do be...
asked by 26.09.2017 / 06:14
1
answer

Find Delphi component by string

I need to open a form in Delphi , but instead of calling it direct by the name UniForm1 , I need to call it by the value stored in a String p> procedure TMainForm.UniTreeView1Change(Sender: TObject; Node: TUniTreeNode); var nome : stri...
asked by 15.09.2017 / 19:41
1
answer

Declaration of Variable with Default Value in Procedures

Would you like to declare a variable with a default value in Procedures? procedure TfrmManutencao01.FormShow(Sender: TObject); var lPriAber : Boolean = True; begin . . . end; I know that as above Delphi does not accept.     
asked by 29.11.2017 / 15:13
1
answer

Delphi - Error comparing dates

I made a comparison between two dates. When the variable 'date' contains the TODAY date, the code understands that it is smaller if data < now then begin ...//se a variável DATA fosse igual a hoje (now), ele iria executar esse comando...
asked by 29.08.2016 / 22:04
2
answers

Count on Firebird 3.0 Bigint X FIrebird 2.5 Integer

On my system, after migrating from Firebird 2.5 to 3.0 , many reports and other functions began to give problem stating that expected was Integer and current is LargeInt . I took a look and saw that some searches with...
asked by 08.12.2016 / 11:17
1
answer

How to list files from a folder in android firemonkey?

I have to create a way for the user to search for a backup generated by my system between the folders of the device, for this I thought of loading the folders in a listview that as clicked would enter the sub-folders. > My problem is ho...
asked by 08.03.2017 / 20:11
1
answer

UPDATE syntax error in delphi (MySQL)

Good night .... I'm using a procedure in msm style for all modules of my software using the msm structure of UPDATE and they all worked, but when I went to do the system users update this is returning me the error: syntax of the incorrect UPDATE...
asked by 08.11.2016 / 00:55
2
answers

Doubt with cursor in memo

In my project VCL , I have a TMemo with the following text (| is cursor): | | |Hello world | | | | |test | | | | | When I press Down...
asked by 31.10.2016 / 12:48
1
answer

Send message to connected TV on the network

How do I send a message to a network connected TV using Delphi7 . Eg: I have a system that controls public service queues, I need to show the next caller password on a TV that is connected to the network.     
asked by 18.09.2015 / 20:42
1
answer

Delphi XE7 / XE8 - Refresh in database (real-time update)

I have two systems interconnected, one saves a record in the database and another reads the saved record, I currently use a timer to refresh the bank on the system that reads, so it picks up every 5 seconds that was saved by But I do not think i...
asked by 07.05.2015 / 18:50