Translations:ReleaseNotes/6.4/143/ru

From The Document Foundation Wiki
Jump to: navigation, search

Пример: запустите из консоли Python (или из макроса на Python)

from access2base import *
 db = Application.OpenDatabase('C:\...\... .odb')
 rs = db.OpenRecordset('SELECT * FROM [EXPENSES]')
 data = rs.GetRows(1000)   # data contains a tuple of (max 1000) Expenses records

Больше информации на странице документации (Jean-Pierre Ledure).