PC Review


Reply
 
 
slickdock
Guest
Posts: n/a
 
      24th Feb 2010
What am I missing? I have a single form view. I have set the "allow
deletions" property to NO. But when I open the form, it allows deletions.
What could be hiding in there???
 
Reply With Quote
 
 
 
 
slickdock
Guest
Posts: n/a
 
      24th Feb 2010
When I open the form from the db container, it does not allow deletes. When I
open the form with a macro that simply runs the open form command, it opens
and allows deletes. Aargh!

"slickdock" wrote:

> What am I missing? I have a single form view. I have set the "allow
> deletions" property to NO. But when I open the form, it allows deletions.
> What could be hiding in there???

 
Reply With Quote
 
 
 
 
Barry A&P
Guest
Posts: n/a
 
      25th Feb 2010
I am not very familiar with macros but im pretty sure you can specify how you
want the form to open
Check the open form arguements in the macro.. or add some to the macro

Barry

"slickdock" wrote:

> When I open the form from the db container, it does not allow deletes. When I
> open the form with a macro that simply runs the open form command, it opens
> and allows deletes. Aargh!
>
> "slickdock" wrote:
>
> > What am I missing? I have a single form view. I have set the "allow
> > deletions" property to NO. But when I open the form, it allows deletions.
> > What could be hiding in there???

 
Reply With Quote
 
slickdock
Guest
Posts: n/a
 
      25th Feb 2010
I already checked that out before posting to this board. There is no macro
condition for opening with Delete set to No. I was hoping for some macro
condition along the lines of SetValue of the active form to NoDelete, but
can't find any google help on that...

"Barry A&P" wrote:

> I am not very familiar with macros but im pretty sure you can specify how you
> want the form to open
> Check the open form arguements in the macro.. or add some to the macro
>
> Barry
>
> "slickdock" wrote:
>
> > When I open the form from the db container, it does not allow deletes. When I
> > open the form with a macro that simply runs the open form command, it opens
> > and allows deletes. Aargh!
> >
> > "slickdock" wrote:
> >
> > > What am I missing? I have a single form view. I have set the "allow
> > > deletions" property to NO. But when I open the form, it allows deletions.
> > > What could be hiding in there???

 
Reply With Quote
 
Dirk Goldgar
Guest
Posts: n/a
 
      25th Feb 2010
"slickdock" <(E-Mail Removed)> wrote in message
news:53E28DFA-818B-485B-8EF9-(E-Mail Removed)...
> When I open the form from the db container, it does not allow deletes.
> When I
> open the form with a macro that simply runs the open form command, it
> opens
> and allows deletes. Aargh!


What *exactly* does your macro say, in terms of actions and arguments? And
what version of Access? Using Access 2003, if I have a form with Allow
Deletions set to no, and I run a macro that just opens the form in form
view, normal window mode, with no other arguments, that form does not allow
deletions.

--
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html

(please reply to the newsgroup)

 
Reply With Quote
 
slickdock
Guest
Posts: n/a
 
      25th Feb 2010
Hi Dirk,
It's Access XP (2002).
Macro exactly: action: "Open form"
Form Name: myForm
View: form
Filter name: (blank)
Where condition: (blank)
Data mode: edit
Window mode: Normal

I am scratching my head on this one...


"Dirk Goldgar" wrote:

> "slickdock" <(E-Mail Removed)> wrote in message
> news:53E28DFA-818B-485B-8EF9-(E-Mail Removed)...
> > When I open the form from the db container, it does not allow deletes.
> > When I
> > open the form with a macro that simply runs the open form command, it
> > opens
> > and allows deletes. Aargh!

>
> What *exactly* does your macro say, in terms of actions and arguments? And
> what version of Access? Using Access 2003, if I have a form with Allow
> Deletions set to no, and I run a macro that just opens the form in form
> view, normal window mode, with no other arguments, that form does not allow
> deletions.
>
> --
> Dirk Goldgar, MS Access MVP
> Access tips: www.datagnostics.com/tips.html
>
> (please reply to the newsgroup)
>

 
Reply With Quote
 
Dirk Goldgar
Guest
Posts: n/a
 
      25th Feb 2010
"slickdock" <(E-Mail Removed)> wrote in message
news5F384E5-2E2D-4A76-90C9-(E-Mail Removed)...
> Hi Dirk,
> It's Access XP (2002).
> Macro exactly: action: "Open form"
> Form Name: myForm
> View: form
> Filter name: (blank)
> Where condition: (blank)
> Data mode: edit
> Window mode: Normal
>
> I am scratching my head on this one...



Try leaving the Data Mode argument blank, and see what you get. For me,
that made no difference, but I'm using A2003.

--
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html

(please reply to the newsgroup)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get rid of "Confirm file delete....." for Shift ¦ Delete John Windows XP Help 4 31st May 2006 06:40 AM
File in use - cannot delete - how to delete? =?Utf-8?B?Sm9hY2hpbQ==?= Windows XP Help 2 18th Jan 2005 12:52 PM
Unable to delete 'delete tool.exe' =?Utf-8?B?TWFyaw==?= Windows XP Help 3 8th Oct 2004 11:23 PM
Delete every 3rd row, then delete rows 2-7, move info f/every 2nd row up one to the end and delete the row below Annette Microsoft Excel Programming 2 21st Sep 2004 02:40 PM
HOW TO DELETE AN IMPOSSIBLE TO DELETE FILE =?Utf-8?B?U0xL?= Windows XP Help 6 27th Feb 2004 11:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:33 AM.