Board index » cppbuilder » TQuery returning nonsence
George
![]() CBuilder Developer |
George
![]() CBuilder Developer |
TQuery returning nonsence2004-09-29 08:35:31 PM cppbuilder64 Hi all, I've got one problem on TQuery, when it's querying a table which has some fields empty, it puts some stupid characters in there... didn't realize why, because there's nothing in physical database... I have oracle8.i thanks for assistance anyway :) bye bye |
Jayme Jeffman Filho
![]() CBuilder Developer |
2004-09-30 03:28:03 AM
Re:TQuery returning nonsence
Hello George,
Are you using ODBC ? Jayme. "George" < XXXX@XXXXX.COM >escreveu na mensagem QuoteHi all, |
George
![]() CBuilder Developer |
2004-09-30 07:16:46 PM
Re:TQuery returning nonsence
Hello Jayme,
no I'm using BDE... "Jayme Jeffman Filho" < XXXX@XXXXX.COM >wrote in message QuoteHello George, {smallsort} |
Jayme Jeffman Filho
![]() CBuilder Developer |
2004-09-30 08:15:03 PM
Re:TQuery returning nonsence
Hello George,
I've had some problems with BDE-Oracle data retrieval, especially when getting nulls from a date field. You can check if it is your problem or BDE, configuring an alias to connect to the same Oracle database and try the same query on Database Explorer. You can try fill up null values with default values, as an empty string for varchar fields and TDateTime(0) for date fields and so on. The problems you're facing may actually be BDE bugs. I've only got rid of this problems when I've gave away the SQL links or ODBC drivers and started to use the components of Crlab (ODAC). Nowadays I'm very comfortable using them. HTH. Jayme. "George" < XXXX@XXXXX.COM >escreveu na mensagem QuoteHello Jayme, |
George
![]() CBuilder Developer |
2004-09-30 08:51:06 PM
Re:TQuery returning nonsence
Yes that must be it...
actually I already figured out that default values are helping out with this problem. thanks a lot. and well, I have a really big project which is more then 50mb already, and well I really have a lot and a lot TQuery's inside. so changing the component is not my option at this moment. thanks anyway. and by the way, is that component you mentioned free?? I might need it in future. "Jayme Jeffman Filho" < XXXX@XXXXX.COM >wrote in message QuoteHello George, |
Jayme Jeffman Filho
![]() CBuilder Developer |
2004-09-30 09:54:47 PM
Re:TQuery returning nonsence
No, I'm sorry, but they are very cheap, US$ 99 for a single license, and
I bet you'll make much more using them. You can download a demo version from their web site www.crlab.com . Why don't you give them a try ? Good luck. Jayme. "George" < XXXX@XXXXX.COM >escreveu na mensagem QuoteYes that must be it... |
George
![]() CBuilder Developer |
2004-10-01 09:46:27 PM
Re:TQuery returning nonsence
thanks Jayme!
"Jayme Jeffman Filho" < XXXX@XXXXX.COM >wrote in message QuoteNo, I'm sorry, but they are very cheap, US$ 99 for a single license, and |