Hi Paul, I have a simlpe exe that calls getdefaultconnection.connect. The exe then calls a dll. The Dll calls getdefaultconnection.SetAutoCommit(true); program...
Hi Kevin, I think this is weird. I have a DLL that calls the dtl.DLL connect, and I have plenty of other DLLs that then use that connection. Are you sure they...
... Are you thinking that he doesn't have the cpp file included in each build? If the obj file produced from the cpp file is linked in when producing both the...
... You are right, the DTL library should only be STATICALLY linked once (.lib, .a, etc). It can be dynamically linked many times (.dll). IIRC, its actually...
Hi Paul, I think I understand the problem a bit better now, I have all my dll's and exe's statically linking with dtl.lib, I believe this is what is causing...
Hi Kevin, Yeah you are right! Another nice open question! In my experience, I don't share DLLs with other applications. Maybe I would if I were writing...
Hi Guys, I am unable to delete a number of fields in a record, I don't think I am doing anything too clever, here is the code I am using, what am I doing...
Kevin, In short, you are using delete_iterator the wrong way. Take a look at the docs again: http://dtemplatelib.sourceforge.net/delete_iterator.htm Basically,...
Hi Corwin, I don't think I am using the where clause for the delete, just for the select. Although I am using the same args. I have tried with using different...
OK. Maybe we need some clarification of database terminology here: 1. The delete iterator deletes an entire row from the database. It does this by executing a...
Hi, I found this post which I thought might have solved my current problem, it doesn't seem to have and I am not sure why. I am using MS Access and trying to...
It could be a problem with nullable<>, I forget if we have finally cleared up one of the problems with the way the backend handles the validation step. Check...
Hi Paul, Works fine on basic types, just the blobs as far as I can tell. Could this be a problem with nullable<> or blob? Any other suggestions? All help very...
could be the comparisons. I know nullable has (or had?) problems with std::strings because either the DTL or the ODBC driver doesn't know the difference...
OK. Here are my thougts: 1. If you are assigning a blob via assign(size_t(0),0) I'm not sure what the database will get without testing. Either it will be: A....
Hi Corwin That was my first thought, however when doing that I get an exception about "Parameter binding failed for parameter #1" with "Invalid precision...
Hello! I'm a satisfied user of DTL and found it an invaluable tool. Thanks alot! Now i have the need to synchronize two databases on two hosts, the database ...
In general, what you want to do is going to depend on how you need to synchronize things. The only thing I would recommend is that you try to split this up...
Hello! Sorry, if this mail comes through two times, i have some problems with my mail provider and swapped accounts... ... Many thanks for your example code. I...
Peter Schaefer-Hutter
schaefer.hutter@...
Dec 19, 2005 10:21 pm
1834
Hello! ( Sorry, if this mail comes through two times, i have some problems with my mail provider and swapped accounts... ) I've got my table sync basically...
Peter Schaefer-Hutter
schaefer.hutter@...
Dec 19, 2005 10:24 pm
1835
... Many thanks for your example code. I did it the very slow way like that below. However, i have one question left regarding these lines: rsi = rmt2.begin();...
Peter, The second time you make the assignment rsi = rmt2.begin(); The iterator will be smart and just Reset() the statement rather than doing a full...
Peter, You have a couple choices here: A. You can change the default binding for std::string to use LONG_VARCHAR. Basically this is set by 2 functions in...
Hello to all. This is my first post to the group. I have been using DTL for two months now. I´ve got only one thing to say about it: fantastic!!. It should...
... Hi Rodrigo, ... Glad you like it :) ... sounds like what i've got ... in my opinion, that makes sense. if the database changes, then the program will...
Thanks for the ideas! ... master ... and ... I didn't notice this point. But in my case this isn't such a problem, since the database is actually controlled by...
rodrigo.madera wrote: < snip > ... no worries :) ... i'm an mcvs, cvs and subversionist myself :) ... i'm the guy who put all the SConstruct and SConscript...
Rodrigo, I certainly agree with you that the idea of keeping your table structue in one place is a nice one. We thought about this on a project I am working ...