hi,
yes, because this is generated, and the user logged in is stored in
CurUser, and the variable then will be used. if not in quotes, there
would be the CurUser at the generation time (that would then always be
me). the finnished sub looks like this:
01 Public Sub but_DATA_BUD_New_Click()
02
> gambas 3 (or 2.99), revision i can't see :-(
svn info
> S = SF & "SQL = SQL " & Chr(34) & " user = '" & Chr(34) & " & mOPT.CurUser &
> " & Chr(34) & "',"
" & mOPT.CurUser & " is inside of quote marks??
Jussi
> then write it with:
> Print #hf2, S
>
> Meanwhile I have solved it in anoth
Hi,
gambas 3 (or 2.99), revision i can't see :-(
SQL is string
S is STRING
mOPT.CurUser is string
the code line is:
S = SF & "SQL = SQL " & Chr(34) & " user = '" & Chr(34) & " &
mOPT.CurUser & " & Chr(34) & "',"
then write it with:
Print #hf2, S
Meanwhile I have solved it in another manner; be
I don't understand your problem.
What is your Gambas version and revision?
What are data types of SQL, S and mOPT.CurUser (I assume string)?
And what is the exact line of code that generates described error message?
With Gambas3 rev 2660 (@Ubuntu 9.10 64bit) I couldn't reproduce your problem.
Juss
Hi all,
I can't figure out what I have wrong here. I am generating subs and
functions, and use a lot of string-handling. In just one line I become
the error: Non terminated String, looks like this:
(1)
SQL = SQL & "user ='" & mOPT.CurUser & "',"
the source generating is:
(2)
S = SF & "SQL = SQ
That was fast. Thank you! I'm guessing that I'll need to download and
make/install the new version to get this fix?
-Bill
Bill Richman - Lincoln, Nebraska
Tilter at windmills, maker of pies in the sky, & curmudgeon
email: b...@geektrap.com web: www.geektrap.com
Benoît Minisini wrote:
>>>
With Activate event works fine!
2010/2/3 Ricardo Díaz Martín
> Thanks, I'll try to do this.
>
> Regards,
> Ricardo Díaz
>
> 2010/2/3 Benoît Minisini
>
> > Benoit,
>> >
>> > Something new about this? How can I help you?
>> >
>> > Regards,
>> >
>>
>> Yes, sorry for the delay!
>>
>> You must use t