Maarten Schrijvers wrote:
String^ prev = ToUCS2(qInsRel.preview().c_str()); //using this in a
messagebox to see what the query looks like...This is my last breakpoint
before things go wrong
You must pass parameters to preview() when using template queries. In
this case, pass the same parameters you passed to execute(). It doesn't
keep the assembled query in memory, it rebuilds it each time at need.
preview() without arguments only works with fixed queries.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|