PC Review


Reply
Thread Tools Rate Thread

Duplicating a Form for Viewing Only

 
 
dhstein
Guest
Posts: n/a
 
      22nd Apr 2009
I have a form that the user can use to update product information. The
fields are mostly editable - with a few exceptions. I'd like to provide a
duplicate of the form just for viewing purposes - without the fields being
editable. Do I need to create another form for this from scratch or is there
some way of copying the original form? Thanks for any help on this.
 
Reply With Quote
 
 
 
 
Beetle
Guest
Posts: n/a
 
      23rd Apr 2009
You can copy the form and save it with a different name, then
set it's Allow Additions and Allow Edits properties to No
--
_________

Sean Bailey


"dhstein" wrote:

> I have a form that the user can use to update product information. The
> fields are mostly editable - with a few exceptions. I'd like to provide a
> duplicate of the form just for viewing purposes - without the fields being
> editable. Do I need to create another form for this from scratch or is there
> some way of copying the original form? Thanks for any help on this.

 
Reply With Quote
 
Graham Mandeno
Guest
Posts: n/a
 
      23rd Apr 2009
You don't even need a second copy of the form. Just modify the code that
opens the form to open it read-only:

DoCmd.OpenForm "YourForm", DataMode:=acReadOnly

If you want finer control - for example, make some controls editable but not
others - then you can write code to modify the Locked and/or Enabled
properties of these controls on the fly after the form is opened.
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand


"dhstein" <(E-Mail Removed)> wrote in message
news:195B0816-5530-4778-97C2-(E-Mail Removed)...
>I have a form that the user can use to update product information. The
> fields are mostly editable - with a few exceptions. I'd like to provide a
> duplicate of the form just for viewing purposes - without the fields being
> editable. Do I need to create another form for this from scratch or is
> there
> some way of copying the original form? Thanks for any help on this.



 
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
Duplicating Form records =?Utf-8?B?Vm9ybG9u?= Microsoft Access VBA Modules 2 5th Oct 2007 12:52 PM
Duplicating a form Red Lorakeet Microsoft Access 1 31st Jul 2007 10:36 AM
Duplicating value from a form chooriang Microsoft Access Forms 3 16th Dec 2006 06:32 PM
Duplicating Data on a Form =?Utf-8?B?bWFya3N0YWhs?= Microsoft Access Form Coding 1 13th Mar 2006 10:37 PM
Duplicating info from one form to the next =?Utf-8?B?R2xlbg==?= Microsoft Access Form Coding 0 29th May 2004 06:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:59 PM.