?
Solved

ODBC Error

Posted on 1998-03-18
3
Medium Priority
?
325 Views
Last Modified: 2012-05-04
I get the following error when I pass a date parameter '1998-01-01' to a report (Crystal Reports)from VB - the report runs off a stored procedure in sybase  ..... runs fine in the sybase environment.  
"ODBC error:[Sybase][ODBC Driver]An invalid ibScale value was specified"
0
Comment
Question by:rickwinterkorn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:chazmanian
ID: 1459412
Go into the Crystal Reports design mode. Select File/Options and then Fields tab. There is an option to set the date format to YMD.
0
 

Author Comment

by:rickwinterkorn
ID: 1459413
Thank's for info chazmanian...however the problem still continues
0
 
LVL 1

Accepted Solution

by:
jcastr earned 200 total points
ID: 1459414
Avoid any date format error with CRW using the
Date (yyyy,mm,dd)  function.

Ex

Report1.SelectionFormula = "Date(Year({SALES.date}),
Month({SALES.date}),
Day({SALES.date})) = " & Format (date, "yyyy,mm,dd")



0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question