Problem with String Fields Zeos 7

Forum related to MS SQL Server

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
andrea.lai
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 26.11.2005, 12:23

Problem with String Fields Zeos 7

Post by andrea.lai »

Where I try to read empty string with the .FieldByName property of I receive a 'N' value instead of an empy string.

Thanks
mrLion
Senior Boarder
Senior Boarder
Posts: 71
Joined: 20.03.2010, 10:17

Post by mrLion »

andrea.lai, Only .FieldByName? or FieldByName().AsString?
hm... in my projects PostgreSQL 8 + ZEOS 7 in second case all working correct.
andrea.lai
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 26.11.2005, 12:23

Post by andrea.lai »

sorry, in .FieldByName().AsString.
I use SQL Server and not PostgreSQL ....
andrea.lai
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 26.11.2005, 12:23

Post by andrea.lai »

There is some people that can help me ?
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Which Delphi version are you using?
Delphi 2009 or above? In this case the problem could be related to an ansistring var
andrea.lai
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 26.11.2005, 12:23

Post by andrea.lai »

I use Delphi 7
ChrisCross
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 21.02.2011, 17:03

Post by ChrisCross »

Please see this..

http://zeos.firmos.at/viewtopic.php?t=3105

It should resolve your problem.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Patch applied by seawolf on 20/11/2011. Available in trunk now.

Mark
Image
Post Reply