Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"ODBC - call failed" Error Msg

Status
Not open for further replies.

kashew

Programmer
Feb 22, 2001
35
US
I'm connected to an Oracle database and trying to set a parameter in an MSAccess query when I receive the above error msg. The WHERE portion of the SQL in Access looks like this:
WHERE (TABLENAME.FIELDNAME)=[Forms]![FormName]![value];
The error goes away when I replace the parameter with a hard value.
Can anyone tell me why I'm getting an error? I haven't had any parameter problems with similar Sybase tables. This is my first experience with Oracle tables.

 
Maybe you need to trim() the value, do not convert to values because of an extra leading character position (reserved for "-" in the event of a negetive number).


syntax:

WHERE (TABLENAME.FIELDNAME)=trim(stR$(([Forms]![FormName]![value]));
 
I've already tried that. It doesn't work. I'm now being told that MS Access does not work very well with Oracle. I'd like to find a way to make it work. I'm sure someone out there has run across this problem before.
 
can you build this filter in an access query?...maybe you Can get a clue of the syntax by viewing the sql statement?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top