PC Review


Reply
Thread Tools Rate Thread

Allan and Douglas Re MsgBox

 
 
John
Guest
Posts: n/a
 
      23rd Dec 2005
Sorry Guys

When I implement Allan's code it works perfect apart from, the record is not
locked until next time the record is displayed/opened. I would like the
record to be locked Immediately, Any ideas. I,m going to set the enabled
values to flase to show a visual indication (Greyed Out), would that be ok?

Regards

John



 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      23rd Dec 2005
To lock it immediately call the same code in the AfterUpdate event of the
form:
Private Sub Form_AfterUpdate()
Call Form_Current
End Sub

--
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.

"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Sorry Guys
>
> When I implement Allan's code it works perfect apart from, the record is
> not locked until next time the record is displayed/opened. I would like
> the record to be locked Immediately, Any ideas. I,m going to set the
> enabled values to flase to show a visual indication (Greyed Out), would
> that be ok?



 
Reply With Quote
 
John
Guest
Posts: n/a
 
      23rd Dec 2005
Thanks Again Allen
Regards
John
"Allen Browne" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> To lock it immediately call the same code in the AfterUpdate event of the
> form:
> Private Sub Form_AfterUpdate()
> Call Form_Current
> End Sub
>
> --
> 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.
>
> "John" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Sorry Guys
>>
>> When I implement Allan's code it works perfect apart from, the record is
>> not locked until next time the record is displayed/opened. I would like
>> the record to be locked Immediately, Any ideas. I,m going to set the
>> enabled values to flase to show a visual indication (Greyed Out), would
>> that be ok?

>
>



 
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
Allan Browne's calendar Chris Microsoft Access 3 12th Nov 2008 07:30 PM
Allan Browne Calendar question deb Microsoft Access 1 8th Jul 2008 04:32 PM
Allan Brown's Pop Calander Query chungiemo Microsoft Access Form Coding 0 7th Sep 2007 12:01 PM
Re:Data Grid(Allan) Dib Microsoft Access Forms 0 3rd Jan 2004 10:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:20 AM.