|
|
|
date: Fri, 18 Jul 2008 09:47:24 -0700 (PDT),
group: microsoft.public.access.odbcclientsvr
back
Re: Access writing wrong data to spreadsheet
> date range rather than the currently selected date range. That is,
> the user generates a spreadsheet using 1-29 Jan, then selects 1-31
> March. The second spreadsheet still has the 1-29 Jan data, even
Yes, Access (all versions) does that. I've never had trouble writing a
single spreadsheet, but writing a series of spreadsheets seems to be
unreliable.
Or rather, just reliable enough to trick you into thinking that it
works.
I had more problems with the Access methods than with the DAO
methods, but I decided that both were unreliable.
I did not have similar problems doing repeated CSV, RTF or Word
(tab) exports for mail merge, but they were always much smaller (often
single record) exports.
(david)
wrote in message
news:df29351d-90f8-4b52-8f45-7f56b6247e09@m73g2000hsh.googlegroups.com...
>I have a rather strange issue with Access (seems to happen with both
> 2003 and 2007) and SQL Server. It seems to happen both with Express
> (local instance) and Standard over a WAN. The form enables the user
> to generate a spreadsheet from select date range. Two things happen
> to this user
>
> 1. The routine generates a blank spreadsheet even though there is
> data for the selected date range (confirmed because the data is
> written to a table in SQL server)
> 2. The routine generates a spreadsheet with the previously selected
> date range rather than the currently selected date range. That is,
> the user generates a spreadsheet using 1-29 Jan, then selects 1-31
> March. The second spreadsheet still has the 1-29 Jan data, even
> though the data in the SQL Server table is for 1-31 March.
>
> I was able to replicate the problem only once using the mde in 2003.
> While running the routine the form seemed to repaint, all of the data
> disappeared from the form listbox and when completed the form had
> reverted to the previous dates. But this only happened for me on the
> mde once. It happens to this user both using the mdb and the mde).
>
> I verified that he is writing a new spreadsheet each time (not trying
> to overwrite the file).
> Any ideas for next steps in troubleshooting this problem? Is it
> possible that Access is not refreshing the cache and if so is there
> any way to work around this issue?
>
> Thanks
> Cheryl
date: Sun, 27 Jul 2008 11:40:35 +1000
author: david
|
|