Passing TStringList as Parameters
Hi,
I'm trying to use StoredProc directly from RAP (setting parameters and
opening it from the GlobalOnCreate). So I write a new Class to extend RAP
and have access to StoredProc method or properties. My problem is that when
I try to use the ReOpen method which wait for two arrays (Name of the params
and their values), I don't know how to declare the two arrays in my
GetParams function because the traDataType doesn't know the arrays,
TStringList or something like that.
If someone can help...
I'm using Report Builder Enterprise 7.04 and Delphi 7.
Thanks
I'm trying to use StoredProc directly from RAP (setting parameters and
opening it from the GlobalOnCreate). So I write a new Class to extend RAP
and have access to StoredProc method or properties. My problem is that when
I try to use the ReOpen method which wait for two arrays (Name of the params
and their values), I don't know how to declare the two arrays in my
GetParams function because the traDataType doesn't know the arrays,
TStringList or something like that.
If someone can help...
I'm using Report Builder Enterprise 7.04 and Delphi 7.
Thanks
This discussion has been closed.
Comments
RAP does not support arrays. Use TStringList or TList (RAP knows about those
classes.)
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com