J
Jeefgeorge
When I run a TransferSpreadsheet command, a [Name AutoCorrect Save Failures]
table is created.
Object Name: BidTabData
Object Type: Table
Failure Reason: Could not save the object
Time:
Code:
....
Tble = "BidTabData"
Path = ahtCommonFileOpenSave...
CurBid = 1
Do While CurBid <= 7
Rnge = "Bid" & CurBid
DoCmd.TransferSpreadsheet acImport, 8, Tble, Path, -1, Rnge
CurBid = CurBid + 1
Loop
....
I think this table is created since the range is 250 rows long, but some
rows are blank. Some spreadsheets have 7 rows, some have 100. I used a range
of 250 rows because that is an extreme max to insert. The blank rows are not
imported, because no primary key is present. I think the error is because
these blank rows are not added to the table. Is there a way to not flag not
saving blank rows as an error? Or is there something else generateing this
table?
table is created.
Object Name: BidTabData
Object Type: Table
Failure Reason: Could not save the object
Time:
Code:
....
Tble = "BidTabData"
Path = ahtCommonFileOpenSave...
CurBid = 1
Do While CurBid <= 7
Rnge = "Bid" & CurBid
DoCmd.TransferSpreadsheet acImport, 8, Tble, Path, -1, Rnge
CurBid = CurBid + 1
Loop
....
I think this table is created since the range is 250 rows long, but some
rows are blank. Some spreadsheets have 7 rows, some have 100. I used a range
of 250 rows because that is an extreme max to insert. The blank rows are not
imported, because no primary key is present. I think the error is because
these blank rows are not added to the table. Is there a way to not flag not
saving blank rows as an error? Or is there something else generateing this
table?