Solved

ODBC Error

Posted on 1998-03-18
3
316 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
3 Comments
 

Expert Comment

by:chazmanian
Comment Utility
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
Comment Utility
Thank's for info chazmanian...however the problem still continues
0
 
LVL 1

Accepted Solution

by:
jcastr earned 100 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now