Search results

  1. M

    Question Best UPDATE method?

    The answer to the question you have asked is much more involved than can be answered in a simple response. Here is link that might help get you started down the correct path: http://www.opengatesw.net/ms-access-tutorials/Access-Articles/MSAccess-Deployment-Best-Practices.htm As you move...
  2. M

    2007 and 2010

    Access 2010 can and will open and allow users to interact with a 2007 database file. Because you are indicating a multi-user environment, I am assuming that you have split your application into front-end and a back-end files. I also am assuming that each user will have a copy of the...
  3. M

    Question Yearly permit renewal

    The first thing you need to do is to make sure your database is normalized. What you are wanting to do is by not means a one table database. At a minimum, you will need two tables. One for data related specifically to each permit holder and another for data specific to the issue and renewal...
  4. M

    Check if ODBC linked table is "reachable"

    Check this link. It should help: http://www.fmsinc.com/free/newtips/access/accesstip3.asp
  5. M

    Single-select Listbox drives me nuts

    When the multi-select property of a listbox is set to "None" you do not have to iterate through the list to obtain the selected value. The selected value is simply the value in the listbox. You can read the selected value by just asking for the value: Me.condolist.value In fact, you don't...
  6. M

    How to populate a Form with data from different Tables

    Because the relationship between the Rental Income and the Contract is a many to one, you would want to have a subform in your main form that will be filtered to only show the rental income records for the currently selected contract. Additionally you could use a list box on your initial form...
  7. M

    How to populate a Form with data from different Tables

    Based on your post, I am assuming that your tables are normalized and that they are linked appropriately. If either of these are not true you may not be able to accomplish the steps outlined below. First, create a query and add the required tables to have it will return the information you...
  8. M

    Is there a way to interrupt default behavior for a keystroke?

    Be aware that there is a default action on each form when the enter key is pressed. You can change that behavior in the Options setting.
  9. M

    Is there a way to interrupt default behavior for a keystroke?

    Check out the "On Key Press" event of your form. You can use code in this event to evaluate the key that was pressed and then take the action you need based on the key that was pressed.
  10. M

    IIf statement with message box

    If your code is in a sub you could use to immediately stop processing any more code: Exit Sub If your code is in a function, you could use to immediately stop processing any more code: Exit Function if ..... then 'Message here Exit Sub or Exit Function would go here...
  11. M

    IIf statement with message box

    Try something like this: If [Voucher]>0 and [VoucherNumber]>0 then Msgbox "Your Message Here", vbOkOnly, "Message box title here" end if
  12. M

    Expression ON Click Error, help needed

    I was assuming that you had access to the code for this applicaiton. If you do not, then you may not be able to use the application due to the refernces being missing. If this is an Access based application then you may need to contact the developer for assistance.
  13. M

    Expression ON Click Error, help needed

    This sounds like a "References" problem. These problems are machine spacific and have to do with the version of Office, etc. that you have installed on the machine. From the Visual Basic code window, on the menu go to "Tools" and "Reverences". Check for any reverences in the list that show...
  14. M

    Count Files in Folder?

    It would have been helpful if you had posted the code that you are saying is not working. However, here is a link that should help you get the code you need: http://www.mrexcel.com/forum/excel-questions/548529-visual-basic-applications-count-files-folder.html
  15. M

    If IsNull(x) then Skip macro

    I am not positive that I understand what you are needing help with. You can do the entire calculation and it really should not bog thins down at all. I would be something like...
  16. M

    If IsNull(x) then Skip macro

    I was only suggesting that you could check the "Text" property of an unbound text box because you cannot check the "Value" property of an unbound text box. I was just pointing out that the Value and the Text properties of any text box are totally different properties and there have to be check...
  17. M

    If IsNull(x) then Skip macro

    Provided your text box is bound then you can use: If it is unbound you will need to check the "text" property of the text box.
  18. M

    populate unbound textboxes

    I would appear that you are now attempting to populate the records in the "tblPersonsOffences" table. If this is the case, rather than have to type the record id for the person (which is hard to remember) why not display a list of the available persons in either a combo box bound to the...
  19. M

    Use Records in Multi Select Listbox in query

    Try having your code create a comma delimited string instead of adding the "or" between each value. Then use an In() method that uses the delimited string in the criteria field in your query.
  20. M

    googlemap from table address data example?

    What version of MS Access are you using? I have attached an example in Access 2007 that will display the map in a brower window using a user provided address. I have not experimented with the new browser control only available in 2010 but I would think that there would really be no major...
Back
Top Bottom