SQL Server Forums
Profile | Register | 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
 New Topic  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  
 New 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.05 seconds. Powered By: Snitz Forums 2000