List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:April 18 2005 8:18am
Subject:Re: Understanding sql_create_# / sql_create_basic#
View as plain text  
On Mon, Apr 18, 2005 at 04:08:45AM -0400, Chris Frey wrote:
> > 3: This is about sql_create_simple_#. For the use of retriving
> > data, I used sql_create_simple_4(stock, 0, 0,...) instead and
> > it worked (based on custom1.cpp). However, when I turn to
> > inserting data with sql_create_simple_4, error messages again.
> > It says there's not a "set" method in struct stock, which I
> > saw that there is such a method in the API. What's wrong with it?
> 
> sql_create_simple_# doesn't exist in my tree.  Are you using an old version?
> Try 1.7.32.

Ahh, you meant sql_create_basic, oops.  From my reading of custom-macros.h,
there is no set method in that struct, at least not that takes a Row
object, which is probably what the compiler is complaining about.

Again, I'm no expert on SQLS stuff.

- Chris

Thread
Understanding sql_create_# / sql_create_basic#Willy K'18 Apr
  • Re: Understanding sql_create_# / sql_create_basic#Chris Frey18 Apr
    • Re: Understanding sql_create_# / sql_create_basic#Chris Frey18 Apr
    • Re: Understanding sql_create_# / sql_create_basic#Warren Young18 Apr