On Wed, 19 Jun 2019 05:02:32 -0700 (PDT), Ron Paii
<
ron8...@gmail.com> wrote:
>On Tuesday, June 18, 2019 at 10:31:17 PM UTC-5, PW wrote:
>> Hi,
>>
>> Any ideas why I am getting that error? I have tried different drives
>> and folders. And with the .csv extension (but won't the file get
>> created with it anyway?).
>>
>> DoCmd.TransferText acExportDelim, ,"tblRoomsAvailable",
>> "c:\GCalRoomAvailability"
>>
>> The from file is part of the Access code database (not linked)
>>
>> Is there an alternative to create a .csv file? I wonder why that
>> isn't working.
>>
>> -paulw
>
*---
>Have you tried the exporting the table manually from the Access UI?
>
Yes Ron. Same error. This (DoCmd.TransferText acExportDelim, ,
"tblRoomsAvailable", "C:\GCalRoomAvailability.CSV") gives me" runtime
error 3011: The Microsoft Access database engine could not find the
object "GCALRoomAvailability#csv...".
Without the extension I get the read-only error.
>PS: what file is part of the access code database? Not the export file.
Not sure what you mean. The file to export from is in the split code
part not the data.accdb and has data in it.
Another form that uses the same command and syntax but with an .ics
extension ( DoCmd.TransferText acExportDelim, , "tblqbftemp",
"c:\Lodge-ical\names.ics", -1) generates the same error now but has
worked for many years.
-paulw