Questions tagged as 'delphi'

1
answer

Error inserting data in SQLServer + Delphi

I have the following problem, when trying to register a new record in the database it presents me with the following error Below is the code below: open the form to register. procedure TFMHome.lbl_IncOSClick(Sender: TObject); begin...
asked by 21.11.2015 / 11:56
1
answer

Queries information from a Tabsheet related to TListView

I'm a beginner and I have a big problem. I have the following situation: I create an item in Tlistview by giving two clicks on the selected item I add an object in the case form to the item listview and I create a f...
asked by 10.06.2015 / 18:10
1
answer

Filter dbgrid with lookup fields

I did a generic search form for my application, but now I realized that I can not filter the dataset using lookup fields, is there an alternative to not using a query? A component that can do this free or commercial? Below is the procedure that...
asked by 01.02.2015 / 03:41
0
answers

Connection error Delphi 6 - Mysql 4.1 - libmysql.dll - Windows 8 [closed]

Hello. Many should already have similar posts on this doubt, but I've done all the suggested actions, and it does not. I need to connect Delphi6 to Mysql 4.1 (I can not use other versions) it has to be these due to the server running the syst...
asked by 11.02.2015 / 18:39
1
answer

Delphi XE8 + Android - Splash screen closes before the app loads and shows black screen for a long time

I'm creating an APP in Delphi XE8, so far so good, the problem is that when my app is going to be loaded on Android, the splash screen closes too soon, the app has not loaded yet, so it shows a black screen before of the app open for a few more...
asked by 22.05.2015 / 23:54
1
answer

HTTPS POST not working in Delphi

I have a project where I need to make post requests to a webservice that works with HTTPS, but when I try to make the post in Indy 10 using Delphi 2007 it throws an exception saying that it was not possible to load the SSL libraries, but I have...
asked by 27.10.2015 / 13:09
1
answer

How to inherit from a ServerModule in DataSnap with Delphi XE3

I'm migrating a Server application with DCom and Borland Socket Sever protocol in Delphi 2006 to DataSnap in Delphi XE3 , however in the new version of DataSnap I'm not able to inherit a% with%. In the visual part, ServerModule look...
asked by 25.02.2014 / 21:35
1
answer

Generate JSON Delphi 7 file

I need to generate a JSON file with Delphi 7. I use the LKJSON library. I even managed to generate the file, but it was not the way I would need it. Below the code I used to generate JSON: procedure TForm1.Button3Click(Sender: TObject);...
asked by 23.08.2016 / 16:36
1
answer

Sharing with FormatFloat

When you try to round the decimal places to 18 decimal places by the FormatFloat function, the system generates the value 18,367 3 . How is this possible? Should not it round the value up, generating 18.367 4 ? At least at many other points...
asked by 14.07.2017 / 20:10
3
answers

Returning information saved to the bank

I have a system that is installed on an unstable network, my question is the following, if at some point in my recording I lose the connection to the database, how do I undo what was done in the database ? If I put: try .... query1.post; qu...
asked by 29.06.2017 / 19:33