Posts by prmas • 213 points
17 posts
-
-4
votes2
answers847
viewsQ: Send notification response by php
I need to send an http 200 response with the 'SUCCESS' string, but my php version of the server is 5.2.17! In my case, the webhook sends data to the capture to a file called.php notification, I read…
-
0
votes1
answer667
viewsA: Pick up auto complete ID and move to another auto complete form as parameter
Silva, as you have not posted your entire form, there is no way to know if in the same html file you have the php tags. If you have, just change the line below: of: $.getJSON('busca_bairro.php',…
-
2
votes2
answers895
viewsA: Dbcombobox saving Dice
The component ComboBox creates an index for each item you include in the list. In this case, if you create in the order you submitted in your question, the indexes would be 0 = "Has Parents" and 1 =…
-
0
votes1
answer434
viewsQ: How do I remove the square when I click the icon?
I’m testing the navbar bootstrap and, as I don’t know much about styles, I don’t know how to fix it. When I click on the icon a dotted frame appears outside the image outline as below: I know this…
-
1
votes1
answer2972
viewsA: Delphi: idHTTP.Post HTTP error/1.1 401
User Thanks Remy Lebeau (https://stackoverflow.com/users/65863/remy-lebeau), by the solution sent in English! procedure TForm4.Button2Click(Sender: TObject); var sResponse: string; EnvStr :…
-
0
votes3
answers696
viewsA: Generate RES (stringtable) file from a resourcestring Unit
To create a file type . res follow the steps below: 1) Create and save a text file with extension ". rc" with the information you want. Example: test.rc 2) At the DOS command prompt, run the…
-
0
votes1
answer133
viewsA: Selectable text without cursor (marker) in Delphi
The Labeledit component allows you to change the cursor according to your needs and does not allow data editing! Is that what you wanted? I hope I helped!
-
0
votes3
answers696
viewsA: Generate RES (stringtable) file from a resourcestring Unit
The best way to do this I discovered was by looking at the Fastreports components. Basically they use two Units: 1) frxrcClass.pas = Unit containing subtitles. 2) frxRes.pas = Unit with subtitle…
-
-1
votes1
answer59
viewsA: Combobox does not return Sqlserver columns
Use the function below: ADOConnection.GetFieldNames('NOME_DA_TABELA', cbbColunas.Items);
-
0
votes1
answer1085
viewsA: Fastreport error designer
After calling the report through "Loadfromfile", you do not need to call "Update", just call "Designreport" to open the report layout. I’ve used Fastreport as a user report builder for 10 years and…
-
2
votes2
answers854
viewsA: Error on close executable
Try this: procedure TForm4.Button3Click(Sender: TObject); begin if TForm1 = nil then Form1 := TForm1.Create(Application); Form1.Show; if TForm2 = nil then Form2 := TForm2.Create(Application);…
-
0
votes1
answer2972
viewsQ: Delphi: idHTTP.Post HTTP error/1.1 401
I’m trying to access Delphi’s idHTTP on a json server without success. I have tried all alternatives and always have the same error: "HTTP/1.1 401 Unauthorized". Json format submitted for testing:…
-
2
votes2
answers2040
viewsA: Firedac Refresh or Refreshrecord
Apparently with the command: CommitUpdates after ApplyUpdates(0) I managed to solve two problems: Avoid triplicity of records in the table. Avoid errors in the command Refresh after inclusion / data…
-
1
votes2
answers2040
viewsQ: Firedac Refresh or Refreshrecord
I’m going through an unusual situation with Firedac. I use Delphi 2009 + Firedac V8.0.5.3365 and only one component ADQuery without DataSetProvider and ClientDataSet. After the inclusion of a record…
-
1
votes2
answers1258
viewsA: Connection between Mysql and Firedac closes the application when enabled
I went through the same situation with Firedac, your Exception is wrong. Firedac only points error when you use except below: except on E: EFDDBEngineException do ShowMessage(E.message); If you are…
-
3
votes2
answers458
viewsQ: Firedac: Getfieldnames without quotation marks
I’m recovering the table fields Firebird and Mysql for Firedac Connection via the command line GetFieldNames, however some fields of the list are returned with quotes. I have tried to insert the…
-
1
votes2
answers332
viewsQ: Read string json in php
I need to read the file below: string '{"object":"list","hasMore":true,"limit":10,"offset":0,"data":[{"city":{"object":"city","id":15873,"ibgeCode":"3550308","name":"São…