Re: Bizarre Problem Involving EuSQL
- Posted by Al Getz <Xaxo at aol.com> Sep 12, 2005
- 519 views
> > 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"