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

mc <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from mc <[email protected]> ---
Created attachment 200802
  --> https://bugs.documentfoundation.org/attachment.cgi?id=200802&action=edit
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

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

Reply via email to