Single (real) parameters types problem
Hi all,
I'm trying to fill a MS-Access 97 table from a Delphi 7 program using a
TADOCommand.
I've set the command to a SQL "insert" statement with parameters.
All is fine except for two fields that are declared as "numeric, single,
2 decimals" in the access db file.
No matter how I try to set the parameter value, it is set to the correct
value multiplied by 100.000.000.000.000
I've tried:
cmInsertLinia.Parameters.ParamValues['litres'] := litres;
with litres being a double, a single, a currency, a variant.
No way.
Any idea of what I'm doing wrong?
TIA,
Gerard.
.
Relevant Pages
- Re: COBOL stored procedure for DB2
... Regarding how you precompile the app, you must specify target mfcob to db2 prep, rather than target ibmcob. ... Have you also confirmed that, prior to executing the CALL statement, the host variables specified within the client app have the appropriate values? ... MODIFIES SQL DATA ... confirm the cob command used for creating the SP module. ... (comp.lang.cobol) - Re: COBOL stored procedure for DB2
... Have you also confirmed that, prior to executing the CALL statement, the ... The DB2 CREATE PROCEDURE statement. ... MODIFIES SQL DATA ... confirm the cob command used for creating the SP module. ... (comp.lang.cobol) - Re: Can I get Consultancy advice on SQL/Fox in the UK (South East)
... My problem is the two Sequel Server tables within one database with which I ... Don't ask me why but the SQL designers have NOT ... command that I can initiate with SQLCONNECT, ... > While you're in the View Designer, right-click and view the SQL code. ... (microsoft.public.fox.helpwanted) - Re: Optimistic Concurrency on UpdateCommand...
... client device, I update that column with a non-null datetime and then try to ... 1!!!If I copy and paste the command ... With the 4th column not allowing nulls, the optimistic concurrency code ... Can I have a nullable datetime column in my Sql ... (microsoft.public.dotnet.framework.adonet) - Re: Select - SQL vs. SUM
... If you have to use an earlier version of VFP earlier than 9, ... >> also force VFP to read from the buffer with a new clause in the SQL ... >> The SELECT command doesn't move the record pointer in the grid's record ... >>> I have a grid whose recordsource is a table named _payments. ... (microsoft.public.fox.programmer.exchange) |
|