Solved

ODBC Error

Posted on 1998-03-18
3
324 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 100 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

691 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