Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
A little tip
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
IndySecOpenSSL is now ava...
by
TheMouseAUS
[
Today
at 12:08:51 am]
You can embed Windows Con...
by
Ozz_Nixon
[June 17, 2026, 11:14:02 pm]
RunFormula: math expressi...
by
stormray
[June 17, 2026, 10:32:05 pm]
Codepage issue in console...
by
ASerge
[June 17, 2026, 09:36:27 pm]
[New Component] ExtTabCtr...
by
wp
[June 17, 2026, 09:23:10 pm]
Pdf Viewer in Pascal
by
Tomxe
[June 17, 2026, 07:18:20 pm]
Canvas size
by
Thaddy
[June 17, 2026, 07:15:50 pm]
[Reopened] TSaveDialog
by
Thaddy
[June 17, 2026, 05:12:17 pm]
What am I missing here? [...
by
Thaddy
[June 17, 2026, 03:39:02 pm]
Implementing an Elo ratin...
by
creaothceann
[June 17, 2026, 02:30:51 pm]
Questions about 16 color ...
by
wp
[June 17, 2026, 01:45:07 pm]
TCHATGPT — An Artificial ...
by
Weiss
[June 17, 2026, 07:00:13 am]
FPC Unleashed (inline var...
by
440bx
[June 16, 2026, 11:53:51 pm]
RFC: Separation of MCU an...
by
ackarwow
[June 16, 2026, 11:06:14 pm]
Error with last fixes_3.2...
by
patyit
[June 16, 2026, 09:49:02 pm]
Mundo Medieval 3D MMORPG ...
by
Rodrigo Robles
[June 16, 2026, 06:06:17 pm]
Which Control should I us...
by
wp
[June 16, 2026, 05:08:55 pm]
Just Question App paramet...
by
eldonfsr
[June 16, 2026, 04:50:19 pm]
Content is distorting / w...
by
Handoko
[June 16, 2026, 03:53:02 pm]
ZxTune chiptunes player
by
Guva
[June 16, 2026, 12:41:14 pm]
Onscroll event for Tscrol...
by
laz_one_or2
[June 16, 2026, 11:16:39 am]
Fpcupdeluxe
by
CharlyTango
[June 16, 2026, 10:35:33 am]
Compiling Qt6 project on ...
by
wp
[June 16, 2026, 10:14:53 am]
IDE Editor (OS: Windows11...
by
keith
[June 16, 2026, 07:36:18 am]
Single and Double, Conver...
by
avk
[June 16, 2026, 06:55:03 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: A little tip (Read 3097 times)
lucabertoncini
New Member
Posts: 12
A little tip
«
on:
August 19, 2015, 05:20:41 pm »
This morning I needed to modify TODBCConnection in the unit odbcconn.pas. The problem was that it didn't know a field type (BLOB) retrieved from an IBM DB2 database. I simply added that when a field type is unknown it must be considered as BLOB and this trick worked well. To use this feature, I had to rebuild fpc. What about add a boolean property that lets us choose if an unknown field type must be equivalent to a blob field?
Logged
jc99
Hero Member
Posts: 553
Re: A little tip
«
Reply #1 on:
August 19, 2015, 08:46:28 pm »
I don't think such a property would be satisfying.
The better alternative here would be a OnUnknownFieldType-Handler with a FieldType (as var) and Fieldname, and maybe some other infos.
So the programmer can choose what to do, and when.
Logged
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~| /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
A little tip
TinyPortal
© 2005-2018