Article View: borland.public.cppbuilder.database.multi-tier
Article #989Re: Client DataSets and Mem requirements ...
From: Nick Rambarransingh
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
27 lines
1890 bytes
1890 bytes
Hi Mark Cashman (TeamB), "In many situations you can use TParam settings to influence what the query goes after without changing the SQL." - Do you mean I can select * from my query on the server, and then from the client, if I pass a particular param, this will automatically filter the records being sent to me by the provider ? "However, are you having specific problems when you change the SQL at run time?" - Most definitely. I don't get the answer I am looking for. I have my query set to select all. Then, in the formActivate method, I attempt to Activate the dataset. I have the user enter UserId and Password. I then set the command text to select the record where the userid equals "Whatever". I then test the result to determine what I shouuld tell the user: you must change your pw, invalid id or pw, etc., etc. And here is something else strange - If I active the dataset, do something with it, and then close the dataset, the minute I try to activate is again, I get an OleEnterprise error - unable to get cursor handle, or something to that effect. This always happens following the DataSet->Active = TRUE. I am not sure where to go from here, but I tell you, I getting frustrated .... Thanks, Nick Borland Forever ...
Technical Details
Message-ID:
<39879722.82DB0FBE@videotron.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39842708.80C789DA@videotron.ca> <398738E3.B45CC97C@temporaldoorway.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,6330d89bfc09f56f X-Google-Attributes: gidfcd2b,public From: Nick Rambarransingh <nrambarransingh@videotron.ca> Subject: Re: Client DataSets and Mem requirements ... Date: 2000/08/01 Message-ID: <39879722.82DB0FBE@videotron.ca> X-Deja-AN: 653467454 Content-Transfer-Encoding: 7bit References: <39842708.80C789DA@videotron.ca> <398738E3.B45CC97C@temporaldoorway.com> Content-Type: text/plain; charset=us-ascii X-Trace: 1 Aug 2000 20:22:37 -0800, 24.200.165.204 MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier