Questions tagged as 'delphi-7'

2
answers

Delphi 7 Ado Dataset not in edit or insert mode

I'm doing a program in Delphi 7 with Access (I know it's old stuff). But you're giving the error when I try to write something very simple. tblPerguntas.Open; tblPerguntas.Insert; tblPerguntaspergunta.Value := edtPergunta.Text; tblPerguntasCon...
asked by 16.11.2014 / 17:43
0
answers

Delphi sql using coalesce

In delphi I have TIBQuery: select * from TB_PRECO where coalesce(DT_CAMPANHA,'') = coalesce(:DT_CAMPANHA,coalesce(DT_CAMPANHA,'')) and coalesce(DT_VECTOPRECO,'') >= coalesce(:DT_ATUAL, coalesce(DT_VECTOPRECO,'')) and DESC_GRUPO = coalesce(:...
asked by 23.03.2018 / 20:53
0
answers

Memory access error!

I'm trying to implement a BINA with Delphi 7 using Super Bina ! I added the component in form and in botão fiz: procedure TfrmPrincipal.btnAbreConClick(Sender: TObject); var texto: String; begin spBina....
asked by 27.11.2017 / 18:31
0
answers

Delphi RLAngleLabel lose quality

Does anyone use strongsReport's RLAngleLabel? This component loses quality in printing, what is circulating is using RLAngleLabel, as we can perceive it loses quality. Does anyone know if there is any setting on the component to improve this qua...
asked by 24.07.2017 / 15:35
0
answers

How to convert String to Bytes array and vice versa?

I need to send an XML via post, but according to the service documentation, it is necessary to send the data "in bytes". So, I have the XML in question within a TStringList. How to turn it into an array of bytes? Any idea? Thanks for any help, h...
asked by 29.10.2014 / 18:23
2
answers

How to check if a table exists in SQL Server 2005 database and if it does not exist create it and the columns

How to check if a table exists in the SQL Server 2005 database, and if it does not exist, create it and the columns. The purpose of this process and create this routine for when I need to create a new field in my application, I put it inside thi...
asked by 05.05.2016 / 23:44
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

Windows 8 som click

When using the TWebBrowser component (which is from Internet Explorer) running on the Win7 platform, every time you navigate a boring click sound is made. So far I have not seen anything in forums about this behavior in Windows 8, thi...
asked by 19.04.2015 / 15:17
0
answers

Delphi 7 intraweb 5.1 + Javascript [closed]

I'm having a problem with Javascript do Delphi 7 + Google Chrome + qualquer outro navegador mais moderno . It practically does not work, I wonder if this is normal or if you have another way to use javascript for validations, hide fields,...
asked by 28.05.2014 / 15:46
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