Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 4 of 4 total |
Remote Params - returns an exception -should it? |
Tue, Sep 26 2006 8:35 PM | Permanent Link |
"Ian Branch" | Hi Guys,
I have implemented the following.. IF RemoteParamByName('Module') = NIL THEN RemoteParams.CreateParam(ftInteger, 'Module'); My problem is that the "RemoteParamByName('Module')" returns a DBException with a "DBSession:Parameter 'Module' not found'. I know this that is why I am testing for it and if not found, creating it. 'Module' is used elsewhere in the app as well. I don't see why I am getting an exception rather than simply returning Nil. Thoughts?? Regards, Ian -- |
Wed, Sep 27 2006 4:34 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ian,
<< My problem is that the "RemoteParamByName('Module')" returns a DBException with a "DBSession:Parameter 'Module' not found'. >> What you want is the RemoteParams.FindParam method: http://www.elevatesoft.com/dbisam4d5_tdbisamparams_findparam.htm -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Sep 27 2006 4:43 PM | Permanent Link |
"Ian Branch" | Tim Young [Elevate Software] wrote:
> Ian, > > << My problem is that the "RemoteParamByName('Module')" returns a DBException > with a "DBSession:Parameter 'Module' not found'. >> > > What you want is the RemoteParams.FindParam method: > > http://www.elevatesoft.com/dbisam4d5_tdbisamparams_findparam.htm Hi Tim, OK, I can work with that but I guess the basis for my original question still stands. The Help documentation says ..." If there are no parameters with that name, the RemoteParamByName method will return nil." Is that not correct? Quick follow up question - are the parameters persistant for the life of the Session? Regards & thanks again, Ian -- |
Thu, Sep 28 2006 2:45 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ian,
<< OK, I can work with that but I guess the basis for my original question still stands. The Help documentation says ..." If there are no parameters with that name, the RemoteParamByName method will return nil." Is that not correct? >> No, it is not correct. I will make sure that it is corrected. << Quick follow up question - are the parameters persistant for the life of the Session? >> Yes. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 17, 2024 at 10:35 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |