Re: Code works without Transaction, but not with

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Fair comment!

Of course, this gives me another potential problem that has already occurred
once in the short time since issuing the fix to the Transaction problem.
Given that Access is now locking pages of records at a time, rather than
individual records, I am more likely to get record locking conflicts. I never
did get around to learning how to write my code to handle this - the
environment I work in rarely has more than one user editing a given record at
any one time, so I haven't needed to.

Jon.

"Allen Browne" wrote:

> Thanks, Jon, but I can't get them to fix even basic stuff like getting
> Access to sort correctly, so I doubt there's any point in sending this to
> them.
>
> This is the sorting problem:
> http://allenbrowne.com/bug-08.html
>
> If find it really embarrassing that Access cannot reliably handle a query
> that is this simple:
> SELECT MyField FROM MyTable ORDER BY MyField DESC;
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "Jon Ley" <JonLey@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:6BAF145F-A68C-4BAD-8C72-F86336DDCBB0@xxxxxxxxxxxxxxxx
> > Allen,
> >
> > Thanks, that's pretty well what I did, except that I needed to close and
> > re-open the database for the change to take effect. I ended up with:
> >
> > If GetOption("Use Row Level Locking") Then
> > SetOption "Use Row Level Locking", False
> > MsgBox "Your database options are set incorrectly and will now " &
> > _
> > "automatically be adjusted. You will need to restart this "
> > & _
> > "application for the corrected settings to take effect.", _
> > vbInformation, "System message ..."
> > Application.Quit
> > End If
> >
> > If you're interested, I have a trimmmed down version of my app and data
> > that
> > will demonstrate the problem. I would be quite happy to let you have this
> > if
> > you think that MS will take any notice.
> >
> > Best regards,
> >
> > Jon.
> >
> >
> > "Allen Browne" wrote:
> >
> >> Very interesting! This appears to be a problem with JET then, not merely
> >> an
> >> issue relating to converting between different versions of JET.
> >>
> >> I did report this issue to MS, but I was not able to get permission from
> >> the
> >> client to give them the large and sensitive database, so AFAIK, they did
> >> not
> >> actually see the problem.
> >>
> >> And for the "But...":
> >> In your startup code, you could include:
> >> Application.SetOption("Use Row Level Locking", 0)
> >>
> >> --
> >> Allen Browne - Microsoft MVP. Perth, Western Australia.
> >> Tips for Access users - http://allenbrowne.com/tips.html
> >> Reply to group, rather than allenbrowne at mvps dot org.
> >
>
>
>
.



Relevant Pages

  • Re: Code works without Transaction, but not with
    ... Thanks, Jon, but I can't get them to fix even basic stuff like getting ... >> issue relating to converting between different versions of JET. ... >> Allen Browne - Microsoft MVP. ... rather than allenbrowne at mvps dot org. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Truncated y axis work-around - adding symbols
    ... > Hi Scott, ... > As Jon suggests, the workaround you can use is a pain. ... and format them using the normal text formatting tools. ... I can't fix it by changing my screen resolution as microsoft ...
    (microsoft.public.excel.charting)
  • Re: Design In Access 2007 Then Compile In A2003 Question
    ... should provent the problem in A2007, and have no effect on A2003. ... there's no fix but this should work around it. ... I would also suggest you decompile in A2003 before compiling. ... Allen Browne - Microsoft MVP. ...
    (comp.databases.ms-access)
  • Re: port or bag it and start over
    ... Hi Jon, ... self-contained and doesn't require any other classes in order to compile. ... This will give you a manageable number of errors and warnings to fix. ... worthwhile writing some test code to put the class ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: System lockup
    ... Jon L. Miller wrote: ... > card and someone had me do some checking on how to fix it. ... > Now the system is locking up on an hourly basis. ...
    (microsoft.public.windowsxp.general)