Search results

  1. ghudson

    Year to Date

    Learn how to use the DSum() function.
  2. ghudson

    Access 2003 Developer Extensions

    The 2003 runtime is not free, it comes with the developer extensions package which is not free and I doubt you can still buy it new from Microsoft since it is so old. The access 2007 and newer runtime downloads are free. Your friend should be able to convert your database to the Access 2010...
  3. ghudson

    Record Navigation

    If you just want to display your own Record X of Y status instead of using the built-in version then check out my old Record X of Y sample.
  4. ghudson

    DoCmd.OpenQuery

    Sorry I do not have the time to decipher your query. Open up the query you have created in the design view and you will see the problem. Fix the query then go back to the code you are using to create the query and adjust as neccessary to fix your problem.
  5. ghudson

    DoCmd.OpenQuery

    There is a problem with your query that you are building so you need to fix that first. Your first error is fixed by replacing DoCmd.OpenQuery ("MyQuery") with DoCmd.OpenQuery "MyQuery". Then you will get another error because of the problem with the SQL you are building.
  6. ghudson

    Add Permissions, but limited Edit and Delete Permissions

    Try this in your forms on open event... Private Sub Form_Open(Cancel As Integer) On Error GoTo Err_Form_Open If CurrentUser = "Userlevel2" Then Me.AllowAdditions = True Me.AllowDeletions = False Me.AllowEdits = False ElseIf CurrentUser = "Userlevel3" Then...
  7. ghudson

    Problem with non-stopping listbox refresh

    The Form_Current event fires every time you move to another record. You should put your code in the Form_Open event to only fire the first time the form is opened. Check these out for more info... Open Event [Access 2003 VBA Language Reference] Current Event [Access 2003 VBA Language Reference]
  8. ghudson

    Form design

    Withing each subform, set the record selector, navigation button and scroll bar properties to No. I would also hide the record selector in the main form.
  9. ghudson

    Help- VBA Code for passwording a form - Retries

    Please use the code tags which makes it easier to read your code. This should give you an idea on how to do it... Option Compare Database Option Explicit Dim bCounter As Byte bCounter = bCounter + 1 If UCase$(Me.tbPassword.Value) <> UCase$(gcPassword) Then If bCounter < 3 Then...
  10. ghudson

    On Error GoTo - Need Help

    You should try to avoid using On Error Resume Next. There should be an error number if there is a runtime error. Change your error message from MsgBox Err.description to Exit_cmdCreateRelationships_Click: Exit Sub Err_cmdCreateRelationships_Click: MsgBox Err.number & " - " &...
  11. ghudson

    date problem 2007

    You can use the format function to display the date however you want it. format([YourDate],"yyyy/mm/dd") You can also change the users regional date to the format you want.
  12. ghudson

    Access 2007 navigation pane erratic problem

    Have you tried reinstalling Office 2007 since you installed Windows 7?
  13. ghudson

    Place File on Desktop using Packaging solution

    1) Search the forum for there are threads discussing how to create a shortcut. I believe that I have posted the solution in this forum somewhere. 2) I did this once before. I would have the front end check the back end for a version number. If it did not agree, the front end would close its...
  14. ghudson

    !! How to run Access database without installing Ms Access

    The runtime installation should have installed the MSACCESS.EXE file on their computer. Do a file search and see where the install placed the MSACCESS.EXE file. Then adjust your shortcut properties for the correct location.
  15. ghudson

    closing and sharing a database application

    For Access 2003, you need to adjust the users computers settings for macros and the sandbox. >>> Frequently asked questions about Access 2003 security warnings Read this old thread on how I alter a users registry to disable the Access 2003 Macro Warnings and SandBox mode...
  16. ghudson

    Capture Form as Image

    Have you tried creating a report to print with your chart instead of trying to print a form?
  17. ghudson

    best way to ensure saving changes

    Bob's method is best because it also alerts the user. Sometimes a user will alter a field without realizing it and would save the unintended change if there wasn't a trap to catch a dirty record before the user moves off the current record or closes the form. I still use a version of my old A...
  18. ghudson

    Questions about Accde

    I use this to hide/unhide the ribbon and navigation pane... DoCmd.ShowToolbar "Ribbon", acToolbarNo DoCmd.ShowToolbar "Ribbon", acToolbarYes DoCmd.RunCommand acCmdWindowHide DoCmd.SelectObject acTable, , True
  19. ghudson

    Default View Print Preview

    I never liked the restrictions of the switchboard so I make everything from scratch in my forms. I give my users the choice to either preview or print the report when they select the report form a combo box listings the available reports from that form. If MsgBox("Do you want print or...
  20. ghudson

    Question Printing problem

    I agree but sometimes it is easier to print the current record in a form (for auditing purposes) than having to recreate a report of the same information and it would be a lot of unnecessary work to get a report to look like a form. This is what I use to print the current record in the opened...
Back
Top Bottom