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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reports and SQL SERVER 2000

Status
Not open for further replies.

958676347657023940

Programmer
Oct 2, 2003
4
CH
HI,
I did migration of an Access Database toward SQL server 2000. My problem is that My code Visual basic doesn't work for datareports. Before i Used dataenvironment for reports...my queries works but in my VB code it does not :(
any idea?
many thanks
 
It depends. Did you check your coding? Access SQL and SQL Server's Transact-SQL are not totally the same.

Some SQL that works for Access won't work in SQL Server; such as IIF. For SQL Server, you need to change IIFs to CASE expressions.

-SQLBill
 
Yes. I did. The probleme is that for example before I write in my VB Code :

DataEnvironment.Commands("Pool")
Load DataReportPublication

DataReportPublication.Refresh

DataReportPublication.Show

IT WORKED BEFORE BUT NOW IT DOES NOT :( I dont know why...even if my all queries works on SQl server..
 
None of that is SQL Server syntax. You should post this in the Visual Basic forum.

-SQLBill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top