If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Field not found- Btrieve

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-30-07, 01:57
chad_garcia chad_garcia is offline
Registered User
 
Join Date: Oct 2006
Posts: 6
Field not found- Btrieve

Hi!
im trying to create a datawindow for my table arselect but its seems that the field are not found. (fields open_$amt and paid_$amt) Dont knw why, i tried to check if the field are registered in the ddf file and it is there. kindly help me with my problem. i attacthed a screen shot for your reference. thanks!

chad
Attached Files
File Type: doc screenshot1.doc (101.0 KB, 121 views)
Reply With Quote
  #2 (permalink)  
Old 01-30-07, 08:26
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Looks like you are using an Intersolv driver. What version of Btrieve/Pervasive.SQL are you using? If it's PSQL 2000 or later, have you tried using the Pervasive ODBC driver instead of the Intersolv driver?
I know the Pervasive ODBC driver requires double quotes around some field names. This is true of field names with spaces or SQL Keywords.
You might try putting double quotes (or whatever delimiter character) around the field name in the SQL.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 01-31-07, 00:09
chad_garcia chad_garcia is offline
Registered User
 
Join Date: Oct 2006
Posts: 6
Im using Pervasive SQL 7, im using power builder 6.5 and and installed the btrieve driver of PB INTERSOLV OEM 3.01 32-bit Btrieve. that's is what im using when im creating a odbc setup and not the PERVASIVE ODBC driver. I also tried to put double quotes or ~ in the field names but still not functioning. any idea what's the answer with my case. thanks to your reply..
Reply With Quote
  #4 (permalink)  
Old 01-31-07, 00:18
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
PSQL 7 came with an ODBC Driver as well, if I remember correctly. You might try the Pervasive driver.
I can't tell you what's wrong because I don't have and have never used the Intersolv driver. It may not support the "_" or the "$". Or, the Intersolv driver may use a different delimiter than double quotes. It could be square brackets ("[" and "]") or even braces ("{" and "}").
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #5 (permalink)  
Old 02-01-07, 20:33
chad_garcia chad_garcia is offline
Registered User
 
Join Date: Oct 2006
Posts: 6
ok thnks to your reply. i will try to use that instead of the intersolv.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On