195ba Lock data entry in Form
Sign Up |  Live StatsLive Stats    Articles 37,312| Comments 177,043| Members 19,398, Newest Geezah| Online 512
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Lock data entry in Form

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Form not allowing data entry alberta323 Information Technology 5 28-Jul-2006 08:20 AM
Combining data from two tables in one entry on a form. rg Information Technology 2 28-Jul-2006 08:17 AM
RE: Form not allowing data entry Sprinks Information Technology 1 28-Jul-2006 08:17 AM
Force data entry of a field on a form Bob B Information Technology 5 28-Jul-2006 08:03 AM
how do i do a Data Entry Form in Microsoft Access? bigbumsm Information Technology 1 28-Jul-2006 08:00 AM


Tags
lock, data, entry, form
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:35 AM
Jorg's Avatar Jorg
Guest
 
Posts: n/a
   
   
Lock data entry in Form

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have a combo box - Status- with active-closed. when set to "closed" i want
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13309-lock-data-entry-in-form.html
to lock the data entry for this record.

*







Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:35 AM
Barry Gilbert's Avatar Barry Gilbert
Guest
 
Posts: n/a
   
   
RE: Lock data entry in Form

In the combobox's AfterUpdate event, put:

Me.AllowEdits=(Me.Status = "Active")
Me.AllowAdditions=Me.AllowEdits
Me.AllowDeletions=Me.AllowEdit

Barry

"Jorg" wrote:

> I have a combo box - Status- with active-closed. when set to "closed" i want
> to lock the data entry for this record.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:36 AM
Jorg's Avatar Jorg
Guest
 
Posts: n/a
   
   
RE: Lock data entry in Form

Hi Barry,
Thanks for your help, it works - but when I reopen the data base the record
set to "close" can be edit again. Any further thoughts?
jorg

"Barry Gilbert" wrote:

> In the combobox's AfterUpdate event, put:
>
> Me.AllowEdits=(Me.Status = "Active")
> Me.AllowAdditions=Me.AllowEdits
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
> Me.AllowDeletions=Me.AllowEdit
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
>
> Barry
>
> "Jorg" wrote:
>
> > I have a combo box - Status- with active-closed. when set to "closed" i want
> > to lock the data entry for this record.

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:36 AM
Barry Gilbert's Avatar Barry Gilbert
Guest
 
Posts: n/a
   
   
RE: Lock data entry in Form

When you say the record can be edited again, do you mean through the form or
are you trying to edit it in the table?

This code doesn't affect the ability to edit the record, it just changes
properties on the form when the record is displayed. The code basically says,
if the status column on the current record is "active", allow edits,
otherwise don't.

Barry

"Jorg" wrote:

> Hi Barry,
> Thanks for your help, it works - but when I reopen the data base the record
> set to "close" can be edit again. Any further thoughts?
> jorg
>
> "Barry Gilbert" wrote:
>
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
> > In the combobox's AfterUpdate event, put:
> >
> > Me.AllowEdits=(Me.Status = "Active")
> > Me.AllowAdditions=Me.AllowEdits
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
> > Me.AllowDeletions=Me.AllowEdit
> >
> > Barry
> >
> > "Jorg" wrote:
> >
> > > I have a combo box - Status- with active-closed. when set to "closed" i want
> > > to lock the data entry for this record.

Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:36 AM
Barry Gilbert's Avatar Barry Gilbert
Guest
 
Posts: n/a
   
   
RE: Lock data entry in Form

When you say the record can be edited again, do you mean through the form or
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
are you trying to edit it in the table?

This code doesn't affect the ability to edit the record, it just changes
properties on the form when the record is displayed. The code basically says,
if the status column on the current record is "active", allow edits,
otherwise don't.

Barry

"Jorg" wrote:

> Hi Barry,
> Thanks for your help, it works - but when I reopen the data base the record
> set to "close" can be edit again. Any further thoughts?
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
> jorg
>
> "Barry Gilbert" wrote:
>
> > In the combobox's AfterUpdate event, put:
> >
> > Me.AllowEdits=(Me.Status = "Active")
> > Me.AllowAdditions=Me.AllowEdits
> > Me.AllowDeletions=Me.AllowEdit
> >
> > Barry
> >
> > "Jorg" wrote:
> >
> > > I have a combo box - Status- with active-closed. when set to "closed" i want
> > > to lock the data entry for this record.

Reply With Quote
  #6 (permalink)  
Old 28-Jul-2006, 08:36 AM
Jorg's Avatar Jorg
Guest
 
Posts: n/a
   
   
RE: Lock data entry in Form

Through the form. also once "closed” is applied all other records are also
not edible.

"Barry Gilbert" wrote:

> When you say the record can be edited again, do you mean through the form or
> are you trying to edit it in the table?
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
>
> This code doesn't affect the ability to edit the record, it just changes
> properties on the form when the record is displayed. The code basically says,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
> if the status column on the current record is "active", allow edits,
> otherwise don't.
>
> Barry
>
> "Jorg" wrote:
>
> > Hi Barry,
> > Thanks for your help, it works - but when I reopen the data base the record
> > set to "close" can be edit again. Any further thoughts?
> > jorg
> >
> > "Barry Gilbert" wrote:
> >
> > > In the combobox's AfterUpdate event, put:
> > >
> > > Me.AllowEdits=(Me.Status = "Active")
> > > Me.AllowAdditions=Me.AllowEdits
> > > Me.AllowDeletions=Me.AllowEdit
> > >
> > > Barry
> > >
> > > "Jorg" wrote:
> > >
> > > > I have a combo box - Status- with active-closed. when set to "closed" i want
> > > > to lock the data entry for this record.

Reply With Quote
  #7 (permalink)  
Old 28-Jul-2006, 08:36 AM
Barry Gilbert's Avatar Barry Gilbert
Guest
 
Posts: n/a
   
   
RE: Lock data entry in Form

Ok. You should put this code in the form's OnCurrent event as well.

Barry

"Jorg" wrote:

> Through the form. also once "closed” is applied all other records are also
> not edible.
>
> "Barry Gilbert" wrote:
>
> > When you say the record can be edited again, do you mean through the form or
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
> > are you trying to edit it in the table?
> >
> > This code doesn't affect the ability to edit the record, it just changes
> > properties on the form when the record is displayed. The code basically says,
> > if the status column on the current record is "active", allow edits,
> > otherwise don't.
> >
> > Barry
> >
> > "Jorg" wrote:
> >
> > > Hi Barry,
> > > Thanks for your help, it works - but when I reopen the data base the record
> > > set to "close" can be edit again. Any further thoughts?
> > > jorg
> > >
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
> > > "Barry Gilbert" wrote:
> > >
> > > > In the combobox's AfterUpdate event, put:
> > > >
> > > > Me.AllowEdits=(Me.Status = "Active")
> > > > Me.AllowAdditions=Me.AllowEdits
> > > > Me.AllowDeletions=Me.AllowEdit
> > > >
> > > > Barry
> > > >
> > > > "Jorg" wrote:
> > > >
> > > > > I have a combo box - Status- with active-closed. when set to "closed" i want
> > > > > to lock the data entry for this record.

Reply With Quote
  #8 (permalink)  
Old 28-Jul-2006, 08:36 AM
Jorg's Avatar Jorg
Guest
 
Posts: n/a
   
   
RE: Lock data entry in Form

  Donate Today!  
Thanks Barry, that was it.

"Barry Gilbert" wrote:

> Ok. You should put this code in the form's OnCurrent event as well.
>
> Barry
>
> "Jorg" wrote:
>
> > Through the form. also once "closed” is applied all other records are also
> > not edible.
> >
> > "Barry Gilbert" wrote:
> >
> > > When you say the record can be edited again, do you mean through the form or
> > > are you trying to edit it in the table?
> > >
> > > This code doesn't affect the ability to edit the record, it just changes
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13309
> > > properties on the form when the record is displayed. The code basically says,
> > > if the status column on the current record is "active", allow edits,
> > > otherwise don't.
> > >
> > > Barry
> > >
> > > "Jorg" wrote:
> > >
> > > > Hi Barry,
> > > > Thanks for your help, it works - but when I reopen the data base the record
> > > > set to "close" can be edit again. Any further thoughts?
> > > > jorg
> > > >
> > > > "Barry Gilbert" wrote:
> > > >
> > > > > In the combobox's AfterUpdate event, put:
> > > > >
> > > > > Me.AllowEdits=(Me.Status = "Active")
> > > > > Me.AllowAdditions=Me.AllowEdits
> > > > > Me.AllowDeletions=Me.AllowEdit
> > > > >
> > > > > Barry
> > > > >
> > > > > "Jorg" wrote:
> > > > >
> > > > > > I have a combo box - Status- with active-closed. when set to "closed" i want
> > > > > > to lock the data entry for this record.

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
BHOOTS (Ghosts) and...
Today 10:13 AM
100 Replies, 13,823 Views
Do you believe in...
Today 10:07 AM
178 Replies, 3,690 Views
Why are There so Many...
By Ishna
Today 09:23 AM
69 Replies, 4,999 Views
Biography of a Scholar:...
Today 06:10 AM
1 Replies, 45 Views
Of Serpents, Pigs,...
Today 05:21 AM
37 Replies, 984 Views
How does Sikhi help you...
Today 04:01 AM
16 Replies, 523 Views
Should SPN Keep the...
Today 03:27 AM
16 Replies, 382 Views
Map shows world's 'most...
Today 03:02 AM
15 Replies, 235 Views
Friends. A Testimony to...
Today 02:40 AM
4 Replies, 103 Views
Panjabi
Today 02:27 AM
11 Replies, 232 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 02:13 AM
301 Replies, 7,444 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 01:54 AM
169 Replies, 4,329 Views
Oz magazine apologizes...
Today 01:40 AM
1 Replies, 41 Views
Iman: Sack Liberal...
Today 01:34 AM
0 Replies, 33 Views
Thought of the Moment!
Yesterday 19:38 PM
106 Replies, 5,026 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 10:15 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.75332 seconds with 32 queries
0