Problems with binding in V4RB?
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Apr 5 12:27:03 CDT 2007
On 5/4/07 6:23 PM, "Carsten Friehe" <rblists at online.de> wrote:
Hi Carsten,
> Hi!
>
> I have the following code:
>
> ----------
> Sub SetAbrufDatum(Newsservername as String, Datum as Date)
> dim res as Integer
> dim Parameter(-1) as String
>
> Parameter.Append Format(Datum.Day, "00") + ":" + Format(Datum.Month,
> "00") + ":" + Format(Datum.Year, "00") + " " + Format(Datum.Hour, "00") +
> ":" + Format(Datum.Minute, "00") + ":" + Format(Datum.Second, "00")
> res = pGlob.mDatabase.SqlExecute("Update Newsserver set DatumAbruf = :1
> where Kontoname = '" + Newsservername + "'", Parameter)
>
> Exception err as VException
> MsgBox "Valentina throw exception: " + Str(err.ErrorNumber) + ":" +
> err.Message
> End Sub
> ----------
>
> But code execution stops in the line with "res = pGlob.mDatabase...". At
> the bottom of the window "VException" is written. But I thought I am
> catching all VExceptions with this code. So I don't know what the reason
> for the error could be. This code has worked with V4RB 1.11 without any
> problem.
> Now with V4RB 2.5.8 and RB 2007r2 it is not working.
I think you have in your REALbasic checked option
menu DEBUG -> Stop on Exceptions
So you was stopped in debugger (as you have asked :)
Or disable it, or just press cmd+R again
Then read what is going on
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list