Search results

  1. M

    When user selects "Others" from Combo Box list

    For the first part, create a hidden "other Reason" text box. Create some code in the after update method of the combo box that checks to see if the value is other, if so unhide the other reason text box. For the query use iif... IIF(nz(CannedReason, '') = '', FreeFormReason, CannedReason) As Reason
  2. M

    Resize ListBox Columns

    Here is another way to accomplish this, but at runtime. This will auto resize the columns when you set the record set of the list box. http://www.mistahmilla.com/2011/10/resizing-columns-in-ms-access-list-boxes/
  3. M

    Problem in Combobox

    Not 100% sure what you're asking, but, try updating the table for the pre-existing values to change to the code instead of the description.
  4. M

    Preventing Duplicates

    You could put some code in the before update method that checks to see if the thing that is about to be added is already in the table. You could also try adding a unique constraint to the table. That will not allow users to add duplicate values. You can add the unique index across multiple fields.
  5. M

    Linked Tables

    You can always view the design of the linked table to see what datatype access thinks the field contains. Anything that is not of that datatype will give you an error.
  6. M

    Access Run Time error '-2147217900'

    If you are going to use reserved words as names for fields or tables you might want to consider throwing a T_ in front of the table names.
  7. M

    Query to re-organize data (single field into multiple fields)

    In order to accomplish this I think you'll need to add another field that keeps track of what action number it is. Access does not have a ranking function, otherwise you could accomplish what you are trying to accomplish without an extra field. Once you have the extra field it is simple...
  8. M

    Parameter query to show all if nothing is entered

    Try something like WHERE (Param1 IS NULL or Table.Field = Param1)
  9. M

    Make Linked Tables Local

    I don't think there is any other way to do it.
  10. M

    2010 Sample Database Required

    Northwind is the only sample database I know about.
  11. M

    Question How to make the database work correctly on any PC

    What are the dll's that are missing? Are they windows dlls?
  12. M

    Ms Access for Multiple Users

    Sounds like you have two users trying to modify the same record at the same time. Make sure your application is closing the record that it is on before it moves to the next.
Top Bottom