![]() |
Fast Report get data from stored procedure or inline table value function
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? |
AW: Fast Report get data from stored procedure or inline table value function
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. |
AW: Fast Report get data from stored procedure or inline table value function
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 |
AW: Fast Report get data from stored procedure or inline table value function
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 |
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:53 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz