Hi, I can't seem to get Example 2 to work http://dtemplatelib.sourceforge.net/RandomDBView.htm I added these lines to the top: #include <dtl/DTL.h> #include...
I'm full of questions today, apologies On http://dtemplatelib.sourceforge.net/variant_field.htm I saw this line: s = (string) r["int"]; I tried to do that, I...
Hello Corwin, Thank you for your advice. I wrote the following code, can you take a moment and look at it to say whether it is correct? Is it necessary to call...
Hi Corwin, Just to let you know, I make heavy use of IndexedDBView on one of my projects. The the database that I connect to has minimal SQL functionality and...
... Yes, it looks fine. ... Yes, you will want to call BindAsBase to initialize the base size of the row you are working with. ... erase is not safe for this...
Thanks for pointing this out. It does indeed look like this example is out of date relative to the latest release. You can find an updated version of this ...
This is actually an example taken from tests/Example.cpp. Compilers other than gcc will allow this cast, for some reason gcc finds it ambiguous. We had to...
Hi, I am running DTL under FreeBSD environment and working well with DBView. Now we have a requirement where we need to read the data from the DB dynamically....
Artem, The reason why it is not allowing this is that the select_update iterator does not let you specify parameters like this. Instead, it builds the update...
I don't see anything obviously wrong with what you are doing but it would help to have some more details on how you have set things up (see previous...
Hi Corwin, Thanks for the quick reply. Please see my in-line comments. ... [raghu] No, we are not using separate connection per thread. We have connection...
... O.K. That may cause problems depending on your driver. For example Microsoft SQL Server ODBC drivers do not perform concurrent operations on a single...
Version 3.6.6; Released October 5, 2004 ***Bugfixes*** Fixed bug in RandomDBView so that it will correctly handle empty tables. Switched calls from strtok to...
... iterator ... In fact, I'm trying to position the select_update_iterator on the row I need to read, modify and update. With select_iterator I could use ...
Hi! I've downloaded new version and it refuses to compile complaining about #include "IndexedDBView.h" in DynaDBView.h. The file is missing in this release. Is...
... <...snip...> ... Personally, this sounds to me like a quick job for a sql statement (or possibly sql_iterator if you do this a lot). Here is a dirty...
Hi Corwin, CJ> Personally, this sounds to me like a quick job for a sql statement CJ> (or possibly sql_iterator if you do this a lot). CJ> Here is a dirty...
Hi, Sometime I would like to omit the returned result. in case 1) just check whether a select query returns no rows 2) read the first row and omit the rest how...
... This is not quite correct. I assume the above are member functions of a class? In this case you also need a DynamicDBView<> member to save the value of ...
thanks for your reply, please read inline ... of a class? Yes, I was not clear, they all belongs to a class. and I only call those get*Row, is*Row, omit*Row...
Hi, Am I the only one who gets ambiguous overloads when i try: tcstring<50> before; string good = before; string bad(before); // ambiguous string bad2; bad2 =...
... The ambiguity is caused by the operator tstring overload in the tcstring<N> template. Just remove this overload in array_string.h:210 and 361 since it is...
Yup, that's a typo. Thanks for pointing this out. Corwin At 10:48 AM 10/8/2004, you wrote: Hello. I just want to point to a small bug in DTL documentation. On...
@@@Provide Oracle11i install CD and Oracle 11i course ! Start u Oracle Erp consultant carrer from here!!!!! Oracle 11i 10.7.5 For Nt install Disk 23CD Oracle...
Hi I get this strange error: /usr/local/include/dtl/DBView.h: In destructor `dtl::DBView<DataObj, ParamObj>::~DBView() [with DataObj = myobj, ParamObj = ...