https://bugs.documentfoundation.org/show_bug.cgi?id=166494

--- Comment #4 from Tom <[email protected]> ---
(In reply to mc from comment #3)
> Created attachment 200802 [details]
> test, macro correction
> 
> Hi, see correction of your macro. Problem is Macro
> 
> Global iOPBR as single
> Global sSQL as string
> 
> SUB ReadInfo
>    sSQL = "Select deci_mal, nume_ric from Tabella1"
>    oConnect=ThisDatabaseDocument.DataSource.getConnection("","")
>    oQuery=oConnect.CreateStatement()
>    oResult= oQuery.executeQuery(sSQL)
>    oResult.Next
>    iOPBR  = oResult.getdouble(1)
>    dec   = oResult.getstring(1)
>    num  = oResult.getstring(2)
>    print  "iOPBR is " + iOPBR + " | decimal is " + dec  + " | numeric is " +
> num 
> End sub

All clear now, thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to