Hi, On Thu, Sep 10, 2015 at 1:17 PM, H?ctor Fiandor <hfiandor at ceniai.inf.cu> wrote: > Dear members: > > I am trying to use a SQL statement like this: > > fdm.tNegSerAct.SQL:='SELECT * FROM NegSerAct > > WHERE codNegSerAct >=desde AND codNegSerAct <=hasta > > ORDER BY codNegSerAct'; > > > > but the trouble is that the variables ?desde? and ?hasta? are strings > > and fixed previously. > > > > I have learned the SQLdb Tutorial2 but the offered solution don?t work.
What language is it? Can you post more code? Also, what doesn't work in your case - DB is returning an error? Code is not compiling? The results received is incorrect? Thank you. > > > > I will appreciate any help in the solution of this problem. > > > > Thanks in advance > > > > Ing. H?ctor Fiandor > > hfiandor at ceniai.inf.cu > > > > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users