AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein Fast Report get data from stored procedure or inline table value function
Thema durchsuchen
Ansicht
Themen-Optionen

Fast Report get data from stored procedure or inline table value function

Ein Thema von question · begonnen am 20. Feb 2014 · letzter Beitrag vom 20. Feb 2014
Antwort Antwort
question

Registriert seit: 17. Apr 2013
97 Beiträge
 
#1

Fast Report get data from stored procedure or inline table value function

  Alt 20. Feb 2014, 12:50
Hi,
can anybody tell me please, how it is possible to get data from a Stored procedure or from a InlineTable value function in FastReport?
  Mit Zitat antworten Zitat
Buddelfish
(Gast)

n/a Beiträge
 
#2

AW: Fast Report get data from stored procedure or inline table value function

  Alt 20. Feb 2014, 16:54
Where is your problem? Create a TxxxQuery (or a TxxStoredProc, if you have one), fill it with the appropriate query statement, connect the dataset to a TFrxDataset (Forgot the exact name) open the designer, assign the data and use it.

There is a menu item 'data' where you can 'assign the data', i.e. like make it visible to the designer.

Another possibility is to directly connect to a database from within the designer.
  Mit Zitat antworten Zitat
question

Registriert seit: 17. Apr 2013
97 Beiträge
 
#3

AW: Fast Report get data from stored procedure or inline table value function

  Alt 20. Feb 2014, 17:20
thanks for your reply

the problem is, i have a stored procedure and i have also a query for that, but when i connect with FastReport then it does not show any column, it happen only with stored procedure and with inline table valued function

furthermore ,i have checked the query and everything is ok so far but i dont know why in Fastreport does not show any data field
  Mit Zitat antworten Zitat
question

Registriert seit: 17. Apr 2013
97 Beiträge
 
#4

AW: Fast Report get data from stored procedure or inline table value function

  Alt 20. Feb 2014, 20:36
for example, i have a inline table valued function 'dbo.FT_getuser'
if i run the query direct with fixed value 'select * from dbo.FT_getuser(1001)' then its work

but if i use the parameter 'select * from dbo.FT_getuser(:ID)'
and run the query like this

ADOQuery1.Parameters.Items[0].Value:=1001;
ADOQuery1.Open;

then it does not show any data field in fast report ,but in delphi it works
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:39 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz