Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. harrisharris

    Duplicate Key Violation is not displayed

    Thanks for your help. Found the problem. Button on my form was close only and not save. added the save code and now the duplicate msg comes up.
  2. harrisharris

    Duplicate Key Violation is not displayed

    Stop Press I have just tried entering the duplicate part number directly into the table - the duplicate warning message displayed. Obviously something wrong in my form.
  3. harrisharris

    Duplicate Key Violation is not displayed

    The DB was desined by myself (amateur). At one time I did switch off messages - Tools - Options - Edit/Find - Confirm box all three were switched off but I have since switched them on again and still no warning about attempting to add a duplicate part number.
  4. harrisharris

    Duplicate Key Violation is not displayed

    What I mean by "nothing happens" - To add a new product I have a form. i enter the duplicate part number and different details (e.g description etc). when i close the form, there is no indication of anything untoward i.e just the same as when I add a genuine new part number. when i look at...
  5. harrisharris

    Duplicate Key Violation is not displayed

    I have an Inventory Control database. One of the tables (Products) has a field (PartNo) as primary key and is indexed "Yes". When I attempt to add a part number that already exists, I was hoping that I would get a warning message to the effect that I was trying to enter a duplicate...
  6. harrisharris

    CALENDAR CONTROL AND OCX PROBLEM

    I am using XP Pro with Excel 2002. I have just downloaded Calendar Control 10.0 and when I try to use it, Excel shuts down with messaage "Severe problem encountered", the details refer to dodgy ocx file. Any ideas on how I can fix this please?
  7. harrisharris

    Clear contents of a Form when opening

    Thanks a lot Simon, - on shift last night, My son helped me out as well. Your help and patience appreciated. Laurence
  8. harrisharris

    Clear contents of a Form when opening

    Simon, Thanks, but I seem to be getting into a bit of a mess. The code I already have for my combo box after update event is quote Private Sub Combo30_AfterUpdate() ' Find the record that matches the control. Dim rs As Object Set rs = Me.Recordset.Clone rs.FindFirst...
  9. harrisharris

    Clear contents of a Form when opening

    Morning Mute101, I have done the Query, but need an explanation of how to reset the control source/filter. I am capable of getting into the code of the after update event, but need to know what additional code to put in. Many thanks Laurence
  10. harrisharris

    Clear contents of a Form when opening

    Thanks Andy, I will hang on a bit and see if anything else comes up, if not will let you know what happens. Laurence
  11. harrisharris

    Clear contents of a Form when opening

    I have a form based on one table called products. The form is used to display product details based on a part number selected from a combo box. Whenever I open the form, all the fields other than the combo box display data. I would like to be able to open the form and have all the fields...
  12. harrisharris

    Same Macro in different Workbooks wont work

    Thanks a lot combo, I have tried the add-in suggestion and it works like a dream. This has given me ideas to build on.
  13. harrisharris

    Same Macro in different Workbooks wont work

    P.S.S I have removed all code from the workbooks and re-installed as a module of the project. This seems to have done the trick. I think this is what you have both been trying to tell me what to do! Very many thanks for you assistance. Regards Laurence
  14. harrisharris

    Same Macro in different Workbooks wont work

    P.S. My code is stored in the appropriate sheet of the VBA Project. Should I have stored it in a module?
  15. harrisharris

    Same Macro in different Workbooks wont work

    Morning Combo, I think I get the drift, but, would appreciate some advice in laymans language. My situation is that I have about ten workbooks. In each workbook there is a particular sheet for which I have designed the macro. The sheets are all the same in design but cover different areas...
  16. harrisharris

    Same Macro in different Workbooks wont work

    Good afternoon Tony and Combo, The situation is that I have two macros in each workbook, Sheets 1 and 2 have been renamed alfa and bravo respectively. I have just found that even with one book open, when I look in the Macro List, I get two scenarios (depending when I look) Scenario 1. The two...
  17. harrisharris

    Same Macro in different Workbooks wont work

    I have created a Macro called Alfa and placed it in a number of different workbooks. For all workbooks, control + g runs the macro. If only one of the workbooks is open, the macro works fine, however, if a number of the workbooks are open the macro does not always run properly. What have I...
  18. harrisharris

    INSERTING A TICK IN A CELL

    Thanks Ram, that was very helpful.
  19. harrisharris

    INSERTING A TICK IN A CELL

    I have a frequesnt requirement to place a tick in certain cells of my spreadsheet. I have tried a macro that retrieves the tick from wingdings character map and it works fine until I close the sheet down and reopen. It then has a problem of pasting the tick. Is there a simpler way of...
  20. harrisharris

    REPORT PREVIEW - WINDOW NOT MAXIMISED

    Thanks Randy and Ginger. I tried Ginger's method first as it seemed the simplest and it works a treat. Kind regards Laurence

Part and Inventory Search

Back
Top