Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Dynamic Select Query
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zocker-3001
Starting Member

1 Posts

Posted - 04/30/2014 :  05:00:34  Show Profile  Reply with Quote
Hi there,

I have a SQL Select:

= "SELECT Form, Nummerzuweisung, Bestellnr, ltsnArtPlanVk, teil, BELEGNR, MENGE, MIETDAUER, RABATT2, Gesamt, rabatt, BEL_TYP, BEL_DATUM, Kuli, KdNr_OpSystem, Firma, Branche, teil_ausld, teil_kz_ok, kundverf, teil_bez1 FROM Ablaufdatum_Auswertung WHERE Firma is Not Null and teil_ausld > " & Parameters!teilausld.Value & " "

i become "Error has occurred during report processing" but why i not know. I Think my Select fx is right.

teil_ausld = Date

or the same Select i make with Text and include iif but the Error is the Same.

= "SELECT Form, Nummerzuweisung, Bestellnr, ltsnArtPlanVk, teil, BELEGNR, MENGE, MIETDAUER, RABATT2, Gesamt, rabatt, BEL_TYP, BEL_DATUM, Kuli, KdNr_OpSystem, Firma, Branche, teil_ausld, teil_kz_ok, kundverf, teil_bez1 FROM Ablaufdatum_Auswertung WHERE Firma is Not Null " & iif(Parameters!Kunde.Value = "<alle>", "", " and KdNr_OpSystem = '" & Parameters!Kunde.Value & "'") & "


can you help me?

Edited by - Zocker-3001 on 04/30/2014 05:58:59
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000