Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 21st, 2004, 04:29 AM
trini trini is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 4 trini User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Numeric fields always 0 with FB ODBC driver

Hi,

I am using XTG Systems FB ODBC driver to acces a FB database from Visual Basic using ADO Objects. Everything works fine except for numeric -non integer- fields, I always get a 0 for those fields. I don't know if I am doing something wrong in Visual Basic, or the problem comes from the driver ???
In Visual Basic I just use a ADODB Recordset and access the fields with the ! operator.

Thanks,

Trini.

Reply With Quote
  #2  
Old July 21st, 2004, 10:39 AM
mariuz's Avatar
mariuz mariuz is offline
Bug Hunter
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Transylvania (Romania)
Posts: 274 mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 12 m 34 sec
Reputation Power: 9
Quote:
Originally Posted by trini
Hi,

I am using XTG Systems FB ODBC driver to acces a FB database from Visual Basic using ADO Objects. Everything works fine except for numeric -non integer- fields, I always get a 0 for those fields. I don't know if I am doing something wrong in Visual Basic, or the problem comes from the driver ???
In Visual Basic I just use a ADODB Recordset and access the fields with the ! operator.

Thanks,

Trini.


Try the open source version , see if it works for you .
Click on the first link "Installable Windows Snapshot"
http://ibphoenix.com/main.nfs?a=ibp...age=ibp_60_odbc
__________________
My home page: http://www.firebirdsql.org and work place :http://www.reea.net

Reply With Quote
  #3  
Old July 21st, 2004, 11:32 AM
trini trini is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 4 trini User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the reply ... Ok, in Visual Basic, with the driver you suggested I get the right values for the numeric fields, but unfortunately, in VBA, from where I need to access the database, the driver does not work -I get an exception when trying to access data in a recordset-

Could anyone suggest any other driver or solution to this?

Thanks a lot.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Numeric fields always 0 with FB ODBC driver


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT