User Profile

Collapse

Profile Sidebar

Collapse
NewtoAccess
NewtoAccess
Last Activity: Jul 17 '07, 07:59 PM
Joined: May 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • NewtoAccess
    replied to Filter values of a Listbox
    Not sure where I should put that code. Here is what I have, Not using a listbox:
    Private Sub SwitchorRaritan _Click()
    On Error GoTo Err_SwitchorRar itan_Click

    Dim stDocName As String
    Dim stLinkCriteria As String

    stDocName = "deviceselectio nZ"

    stLinkCriteria = [Category]='switch'or [Category]='raritan' "
    DoCmd.OpenForm stDocName, , , stLinkCriteria...
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    started a topic Filter values of a Listbox

    Filter values of a Listbox

    Access 2000, regarding forms.

    I want a command BUTTON labeled "server" on a MAINFORM that:
    > Opens up a INVENTORY form-which contains a list box- and
    > Filter the values in the LIST BOX (for ex. shows only a list of server pcs and not entire inventory)

    Once working I would add other buttons on MAINFORM which would open up INVENTORY form and filter based on other values.

    Is...
    See more | Go to post

  • NewtoAccess
    replied to Closing specific forms
    I made changes and it worked, Thanks
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    started a topic Closing specific forms

    Closing specific forms

    I have a dumb question for access 2002 regarding closing forms.

    In a FORM1 I have a LISTBOX1. When I click on listbox1 I want to open another FORM2 and then close FORM1-which contains listbox-.

    For some reason my DOcmd.Close command closes Form2 instead of Form1.

    Why? How can I specify which form to close?
    See more | Go to post

  • NewtoAccess
    replied to Automatically Log off idle users
    OK. I'll update the commands.
    Still though, I want application to autoclose.

    So if VBYesNo no button selected within 10 seconds, then I want app to proceed with closing anyway.

    How can this be accomplished?
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    replied to Automatically Log off idle users
    This is what i have so far for sub routine action:

    Sub IdleTimeDetecte d(ExpiredMinute s)
    Dim Msg As String
    strMsg = ""
    strMsg = strMsg & "Applicatio n will CLOSE_"
    strMsg = strMsg & "Click YES to continue working. Click NO to exit"
    If MsgBox(strMsg, vbQuestion + vbYesNo, "No Activity detected") = vbYes...
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    replied to Automatically Log off idle users
    Thanks for the link. I added the forms as mentioned on the microsoft site, only problem is an option whether or not to continue working did not appear.
    It just closed right away.

    I want to give the user a warning before closing by checking yes/no. if nothing is selected then it should proceed with quiting app.
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    replied to Automatically Log off idle users
    I'll check out the website.
    I do have a Mainform that links to other forms. Mainform always remains open even if other forms are being worked on.

    I think I should put a timer on the MAINFORM. And then have countdown which alerts the user and gives them the option to reset timer or not.

    How could I code this? And where on form should it be added? 'on current' ?
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    started a topic Automatically Log off idle users

    Automatically Log off idle users

    Hi,
    We have a shared Access 2000 database shared among many users within the company I work for.

    many times, users open up the shared database and forget to close it.
    So I cant even make modifications to it after work hours since users are logged in.

    Is there a way to log off users after a long period of inactivity?

    Let me know, thanks
    See more | Go to post

  • NewtoAccess
    replied to Remove filter on Current form.
    I answered my own question.

    Filter = off
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    started a topic Remove filter on Current form.

    Remove filter on Current form.

    App; ACCESS 2003
    Question on FORMS

    What command line can i add to a button in a FORM that will remove current filter?

    I hid the scroll bar towards the bottom of the form since I dont want users to navigate, but now I cannot un-filter either.

    To clarify a bit further,
    Form1 opens Form2 using a stlinkcriteria.
    I would like a command button in Form2 which removes filter/criteria on form2....
    See more | Go to post

  • NewtoAccess
    replied to One button, multiple hyperlinks
    Not sure how to do that, but will try.
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    replied to One button, multiple hyperlinks
    I got it working, Thanks

    Private Sub ViewFloorPlan_C lick()
    On Error GoTo Err_ViewFloorPl an_Click

    Dim stAppName As String
    If Me![List0] = "250" Then
    FollowHyperlink ("\\S01cspr01\c orpshare\MDF\Ca rteret\Verizon_ Cage.vsd")
    ElseIf Me![List0] = "31" Then
    FollowHyperlink ("\\S01cspr01\c orpshare\MDF\16 33 Broadway\48Floo r\MDF Floor...
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    replied to One button, multiple hyperlinks
    The Listbox value is used for other functions on the same form, so I cannot dedicate its functions to only Hyperlinks.

    Thanks for the advice.
    See more | Go to post

    Leave a comment:


  • NewtoAccess
    started a topic One button, multiple hyperlinks

    One button, multiple hyperlinks

    I have many Visio diagrams. There is 1 Diagram per SITE.

    I have a LISTBOX1 which lists all sites.
    After selecting a site in listbox1, I would like to have a BUTTON1 that opens up the appropriatte Hyperlink to a visio diagram for the particular site on the listbox.

    LISTBOX1 gets data from SITE table (SITEID is the primary key)
    Hyperlinks are:
    \\S01cspr01\cor pshare\MDF\site 0.vsd
    \\S01cspr01\cor pshare\MDF\site 1.vsd...
    See more | Go to post

  • NewtoAccess
    started a topic Filter reports

    Filter reports

    Is it possible to open and filter a REPORT based on a criteria as you would a form?

    If so would command be similar to:

    Private Sub OpenReport_Clic k()
    On Error GoTo Err_ViewDev_Cli ck

    Dim stDocName As String
    Dim stLinkCriteria As String

    stDocName = "REPORT"

    stLinkCriteria = "[siteID]=" & Me![siteID]
    DoCmd.OpenForm...
    See more | Go to post

  • It worked fine, Thanks for help!
    See more | Go to post

    Leave a comment:


  • Im using a value from a previously selected list box to set criteria-which works however -simultaneously- I would like to filter records based on text I have pretyped code.
    The later portion im unable to figure out.

    must be my syntax

    stLinkCriteria = "[SiteID]=" & Me![SiteID] & "and[Category]="&"switch"
    See more | Go to post

    Leave a comment:


  • THANKS mmccarthy !

    It worked like a charm. I really need to read-up on the what 'oncurrent', 'onload' etc mean. I was working on this for 2-weeks.

    Thanks Again!
    See more | Go to post

    Leave a comment:


  • Open and filter form results based on 2-criteria

    Hi its me again.

    I want to filter data by 2-different values. First I want to filter data by site and then by server. the first value is obtained from a list box-this works fine, then I want the same list filtered by the text "server" in my code.

    Must be a syntax error, see below, Thanks

    Private Sub addPort_Click()
    On Error GoTo Err_addPort_Cli ck

    Dim stDocName As String...
    See more | Go to post
No activity results to display
Show More
Working...