Talk About Network

Google





Software > Access Forms > Re: button ques...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 44661 of 46786
Post > Topic >>

Re: button question

by "Pete D." <pduffy211AT@[EMAIL PROTECTED] > Aug 7, 2008 at 06:34 PM

Look at Password Protecting A Microsoft Access Tab Control
http://www.databasedev.co.uk/tab-control.html

"jackrobyn1" <jackrobyn1@[EMAIL PROTECTED]
> wrote in message 
news:AD5C3E24-1A33-401C-9B4D-06CF60B2331D@[EMAIL PROTECTED]
>I have a basic continuous form that a user can enter basic info about an
> accident eg Reference number, employee name, vehicle number etc etc.
next 
> to
> each record there is a button that takes me to a larger form conected to

> the
> same table, this is so a manager can add a more complete picture of the
> accidents events, i want this button to ask for a password before
opening 
> the
> form. how can i do this? the buttons on click code is as follows:
>
> Private Sub Command154_Click()
> On Error GoTo Err_Command154_Click
>
>    Dim stDocName As String
>    Dim stLinkCriteria As String
>
>    stDocName = "IncidentsEntryFRM"
>
>    stLinkCriteria = "[Ref_No]=" & "'" & Me![Ref_No] & "'"
>    DoCmd.OpenForm stDocName, , , stLinkCriteria
>
> Exit_Command154_Click:
>    Exit Sub
>
> Err_Command154_Click:
>    MsgBox Err.Description
>    Resume Exit_Command154_Click
>
> End Sub
>
> Can you just add the code required to ask for a password please
>
> Thanks
 




 3 Posts in Topic:
button question
=?Utf-8?B?amFja3JvYnluMQ=  2008-08-07 14:47:01 
Re: button question
"Pete D." <p  2008-08-07 18:34:11 
Re: button question
=?Utf-8?B?amFja3JvYnluMQ=  2008-08-07 16:14:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 15:11:37 PST 2009.