Re: Bizarre Problem Involving EuSQL

new topic     » goto parent     » topic index » view thread      » older message » newer message

> > Instead of being able to use this:
> > 
> > }}}
<eucode>
> > data = {1,"Name","Text","12.12.2004","12:15",2,1}
> > sql = sprintf("SELECT COUNT(*) FROM ENTRIES WHERE (JOURNAL_ID=%d) AND
> >     (ENTRY_NAME='%s') AND (ENTRY_TEXT='%s') AND (ENTRY_DATE='%s') AND
> >     (ENTRY_TIME='%s') AND (AUTHOR_ID=%d) AND (PRAYER_ID=%d)",data)
> > 
> > (the above kept saying "not enough values for sprintf), I had to use this:
> 
> 

Hi,


That's interesting, because i got an error that said 
  "line ends with no closing quote"
for the line with 'sql' in it.
 

Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu