Sql Custom , FillData


Author
Message
Tony Charpentier
Tony Charpentier
StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)
Group: StrataFrame Users
Posts: 10, Visits: 81
Hello

When i write in my bo a Sql for statistics.

Like this :

select TOP 10 COUNT (*) as NBACQ, uti_signature from Clients where cli_id>10
group by uti_id

I use only 2 fields , and strataframe ask me to put all field in the query.

Like this :

Le cast spécifié n'est pas valide.

Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

Détails de l'exception: System.InvalidCastException: Le cast spécifié n'est pas valide.

Erreur source:

Ligne 899 :        public System.DateTime cli_dtcour {Ligne 900 :            get {Ligne 901 :                return (System.DateTime)this.CurrentRow["cli_dtcour"];Ligne 902 :            }Ligne 903 :            set {


It's possible to put a sql custom , with few fields in Business Object.
With ado.net it's possible, or if i wrote a view with few fields it's works so.

But in my statistics , i have too much view, it's why i want to create my own query.

All Bo's field get a non null value .

thanks for your help
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search