Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lotus 123 Numeric cells have zeros appended
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Lotus 123 Numeric cells have zeros appended
Miscellaneous
Thread ID:
00467746
Message ID:
00467746
Views:
38
I'm writing a utility to import data from Lotus 123 spreadsheets. I'm using DAO 3.6 and the following code in VB6 (SP4):

Set oWorkspace = DBEngine.CreateWorkspace("JetWorkspace", "admin", "", dbUseJet)
Set oDatabase = oWorkspace.OpenDatabase("C:\Temp\LotusFile.WK3", False, True, "Lotus WK3; HDR=NO; IMEX=1;")
Set oRecordset = oDatabase.OpenRecordset(oDatabase.TableDefs(0).Name, dbOpenSnapshot, 0, dbReadOnly)

All data is imported, but some numeric cells have ".00" appended. Normally, this would not be a problem, but in this case I need the data brought in exactly as it was in the spreadsheet. 1 <> 1.00

BTW, Lotus Spreadsheets were created using Lotus 123 '97. Excel 97 spreadsheets import accurately using the same technique.
Reply
Map
View

Click here to load this message in the networking platform