Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

Problem Selecting Original DateFormula using Excel VBA

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 1
Points 20
Member since 06-11-2008
sdhusodo Posted: 06-11-2008 3:35

I am using JetReports to generate most of my reports. For some of them, I am also using VBA and ADO

to get the result directly from SQL Server 2005 database and import it into Excel .

The problem I have been having with the latter is that if I need to get the value of a field that has DateFormula (1W / 2D etc.),

the result I get on Excel sheet is the numeric value and a weird box symbol. I have never had this kind of problem with JetReports.

My question is how to get the original DateFormula directly from SQL Server database using a select statement?  

Thanks. 

Top 500 Contributor
Male
Posts 65
Points 1,035
Member since 02-19-2008

 Can you post a sample of your code that brings in these results, and a copy of those weird results? 

 Also, Jet Report is a great tool, I presume you are unable to produce  the report in that? They have a community support area which may help you.

 cheers, Mark

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS


Copyright Dynamics User Group, 1995-2009, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.