Thank you, Benoit. It is really strange, and I have not seen such a behaviour bevor - I get the whole lenght of the field in the variable, so if the content is "Header", I get "Header..............................................................................". That is the reason why the IF did not work. I can help myself for the moment, just using TRIM, then it works. I have a lot of other things to program right now, but perhaps we should come back to this, I would call it MySQL Issue.
Thanks again, and regards Dag-Jarle 2011/9/24 Benoît Minisini <gam...@users.sourceforge.net> > > Hi, > > off course I have tried directly too, that works, so it seems I get > > something weird from the DB. > > > > I wrote those lines here, so I think my syntax is right in the app. I > have > > written DB-apps since 25 years, so I am pretty clear over how to handle > > that. What is really strange to me: > > > > S=RS!objname (With Print both show data) > > IF S="Header" then > > STOP > > ENDIF > > > > is ignored. I will have to check the data and the structure, I think. > > > > > > Thank you and > > regards > > Dag-Jarle > > > > > > If you want help, I need a way to reproduce the problem! > > -- > Benoît Minisini > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user