On Fri, 25 May 2007 15:50:51 +0200, Vladimír Cvajniga <(E-Mail Removed)> wrote:
>Desing settings: Form.AllowAdditions = TRUE may change in code to FALSE.
>With FALSE there were no records in main form and thus link field was
>empty... and I got an error message.
Still not really following, but in the specific case you mention, why not check for an empty recordset first, then
set/unset the various options (or check whatever recordset/database/form property you need, then take action). Access is
databound, and it does make certain assumptions. If you don't want to use the databound properties of Access, then build
an unbound application, or move to VB
> It's very difficult to handle dynamic settings correctly if I don't know
>HOW!!! There's NO information about how to handle code in debug and break.
>To me it seems that if I need to change something in code I always have to
>close all forms and reports before I make any change. Sometimes I simply
>forget to close forms/reports before I make changes...
Hanlding code in Debug/Break is pretty simple: You should never make code changes in Debug/Break mode. While you don't
need to close all forms/reports to make changes, you should definitely stop the debugger, open the object in Design
mode, then make the changes.
I read your newsgroup posting at the link below and refer you to Larry's response to you: Access isn't VB, and is very,
very different in many ways. To me, we (as developers) have strecthed the limits of Access beyond what the original
developers imagined it to be (a desktop database design system suitable for small workgroups). Now, we have people
developing commerically available applications in Access and they expect it to behave like VB or C/C++ ... and it won't.
Don't get me wrong, I would really like for Access to behave more like VB, but that's just not going to happen ... you
simply can't make changes to Access objects in Break/Debug mode, and that's a known fact (and it's not a "bug" just
because you think it should behave that way) and has been that way since (at least) Access 2000.
Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com