Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
query and mysql4.1
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
CudaText editor (written ...
by
szlbz
[
Today
at 01:33:54 am]
Embedded qss stylesheets ...
by
jns
[
Today
at 12:43:03 am]
What was your first compu...
by
CM630
[January 13, 2026, 10:09:19 pm]
Dragging files to .app no...
by
Boleeman
[January 13, 2026, 10:06:09 pm]
Drag and Drop Files; onDr...
by
Boleeman
[January 13, 2026, 10:01:00 pm]
PngDrop: Reduce the size ...
by
Boleeman
[January 13, 2026, 09:50:19 pm]
Fantasy Worldbuilder; Pro...
by
Boleeman
[January 13, 2026, 09:45:56 pm]
Lazarus and Libre Office
by
Aruna
[January 13, 2026, 09:26:34 pm]
TSpeedButton qt6 styleshe...
by
big_M
[January 13, 2026, 09:23:24 pm]
solution for installing F...
by
Cascade
[January 13, 2026, 08:08:14 pm]
StrToDateTime problems
by
Nicole
[January 13, 2026, 07:45:13 pm]
How to forward a Class in...
by
Hartmut
[January 13, 2026, 07:41:31 pm]
Additional Filedialog opt...
by
Hansaplast
[January 13, 2026, 07:39:28 pm]
Linked List Using Two Cla...
by
cdbc
[January 13, 2026, 06:34:17 pm]
set zero values not to b...
by
wp
[January 13, 2026, 05:58:41 pm]
Fast Canvas Library V1.05...
by
Gigatron
[January 13, 2026, 05:15:06 pm]
Locate current record aft...
by
1HuntnMan
[January 13, 2026, 03:52:59 pm]
How to set the Excel cell...
by
wp
[January 13, 2026, 02:10:13 pm]
RPNCalc in Lazarus
by
Thaddy
[January 13, 2026, 01:31:40 pm]
[SOLVED] Transparent back...
by
wp
[January 13, 2026, 11:19:10 am]
Why does FPC behave this ...
by
Thaddy
[January 13, 2026, 10:39:31 am]
Parametrized Access SQL Q...
by
Zvoni
[January 13, 2026, 09:45:53 am]
BS PanelTrans - transform...
by
Xenno
[January 13, 2026, 05:54:55 am]
RTTIPropertyGrid expand
by
jamie
[January 13, 2026, 03:17:43 am]
Sum GNU Anti Reversi 8x8 ...
by
Boleeman
[January 13, 2026, 12:42:53 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: query and mysql4.1 (Read 5876 times)
rodrigo
Guest
query and mysql4.1
«
on:
December 07, 2005, 02:03:13 am »
All times that try query: SELECT sNome,sDescricao FROM SISTEMA WHERE iCodigo, the lazarus return this error: EConvertError with '....e....E..' is an invalid float. How remove this error ? Any Idea ?
Logged
Marc
Administrator
Hero Member
Posts: 2671
RE: query and mysql4.1
«
Reply #1 on:
December 07, 2005, 11:32:05 am »
What it the definition of the SISTEMA table, what is the exact error message ?
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
rodrigo
Guest
definition of table SISTEMA
«
Reply #2 on:
December 07, 2005, 12:08:34 pm »
It is definition of table SISTEMA:
iCodigo int autoincremental
sNome varchar(50) not null
sDescricao varchar(100) not null
I use it is query: SELECT sNome,sDescricao FROM SISTEMA WHERE iCodigo=1 and return the error before write.
Any idea of cause of error ? :?:
Logged
matthijs
Hero Member
Posts: 537
RE: definition of table SISTEMA
«
Reply #3 on:
December 07, 2005, 01:14:03 pm »
What client library are you using to connect to the mySQL server? Which components are you using? Remember: The Lazarus SQLdb components only work with mySQL client library 4.0.
Logged
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.)
Why cannot I upload my own Avatar?
rodrigo
Guest
in mysqldb
«
Reply #4 on:
December 07, 2005, 01:48:42 pm »
I use mysqlclient4.1.... it may be the problem ? :?:
Logged
matthijs
Hero Member
Posts: 537
RE: in mysqldb
«
Reply #5 on:
December 07, 2005, 05:13:23 pm »
Yes. That will most probably the problem. As I said the SQLdb components only work with mysqlclient4.0
With this client you can also connect to mysql 4.1 servers (and 3.23)
Logged
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.)
Why cannot I upload my own Avatar?
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
query and mysql4.1
TinyPortal
© 2005-2018