Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenUtilities
  • Product Communities
  • More
OpenUtilities
OpenUtilities Wiki Empty rows on Select Part Number
    • Sign in
    • +OpenUtilities
    • Access Service Request Manager
    • +Bentley sisHYD Multi Utility
    • Design Features - promis.e Functionality - Promis.e Standard
    • +OpenUtilities Substation
    • Promis.e Paths
    • -Promis.e Wiki
      • +CONNECT Edition - Promis.e
      • About Promis.e
      • +Administration Features - Promis.e
      • +APIs_VBA - Promis.e
      • +Automation Features - Promis.e
      • -Component Features - Promis.e
        • Columns missing from dialogs, error messages
        • +Device Cross Referencing - Component Features - Promis.e
        • -Edit Components - Component Features - Promis.e
          • Assign or change Installation/Location for multiple devices at once
          • Empty rows on Select Part Number
          • Error - Some connection point text is invalid
          • Missing information in Device Usage Chart
        • +Family Usage - Component Features - Promis.e
        • How to Add Spare Parts in Promis.e Connect
        • +Insert Field - Component Features - Promis.e
        • +Insert Symbol By ID - Component Features - Promis.e
        • +Insert Symbol By Name - Component Features - Promis.e
        • +Insert Symbol By Part Number - Component Features - Promis.e
        • +Symbol on the Fly - Component Features - Promis.e
      • +Component Management - Promis.e
      • +CONNECT Services - Promis.e
      • +Data Manager - Promis.e
      • +Database Platform Support - Promis.e
      • +Display - Promis.e
      • +Drawing Management - Promis.e
      • +Engineering Design Considerations - Promis.e
      • Error - Object reference...General
      • +Find_Replace - Promis.e
      • Finding the Tutorial
      • +Installation_Configuration - Promis.e
      • +Interoperability - Promis.e
      • +Licensing - Promis.e
      • +Maintenance Features - Promis.e
      • +Migration - Promis.e
      • +OS Support - Promis.e
      • +Panel Layout - Promis.e
      • +Performance - Promis.e
      • +PowerPlatform Support - Promis.e
      • +Print_Publish Features - Promis.e
      • +ProjectWise Integration - Promis.e
      • Promis.e Help file
      • +Reports_Output Features - Promis.e
      • +Template Management - Promis.e
      • +Text Tools - Promis.e
      • Training FAQs
      • +Wire Numbering - Promis.e
      • +Wiring Features - Promis.e
      • +Project Management - Promis.e
      • Promis.e Title
      • Working from home with Promise.e
    • Replace Family - Find_Replace - Promis.e
    • SQL Server Login

    You are currently reviewing an older revision of this page.

    • History View current version

    Empty rows on Select Part Number

       
      Applies To 
       
      Product(s): promis.e, Bentley Substation
      Version(s): through 08.11.12.xx
      Environment:  N/A
      Area:  promis.e Functionality
      Subarea:  Design Features
      Original Author: Matt_P, Bentley Technical Support Group
       

    Problem Description

    When trying to assign a part number to a symbol using the Select Part Number dialog, rows of empty cells appear in the top pane.  Also, some part numbers known to match the applied filter may not appear, and double-clicking on a row causes the focus to jump to a different row or causes an unhandled exception.

    Reason

    This behavior can be caused by the presence of duplicate values in the Part_Number column in the table used for the parts database.  This situation should be impossible since the Part_Number column should be the table's primary key, which requires unique values to be entered. In past cases, a different column or no column was found to be the primary key.  In these cases, users had also been entering data using Microsoft Access instead of the Parts Database Manager.

    Steps to Resolve

    1. Open the parts database using Microsoft Access.

    2. Use the Find Duplicates Query Wizard or other methods to identify duplicate part numbers in the parts_database table.  See Find and remove duplicate data.

    3. Edit or delete records so that no duplicates remain.

    4. Set the Part_Number column to be the primary key.  This can be done by opening the parts_database table in Design View, right clicking the Part_Number column, and choosing "Primary Key".  This will prevent duplicate part numbers from being entered while using Microsoft Access to enter the data.  Consider entering data using Parts Database Manager instead.

    5. Save and close the database.

     

    External Links

    "Find and remove duplicate data"
    http://office.microsoft.com/en-us/access-help/find-and-remove-duplicate-data-HA010341696.aspx

    keywords: Object reference not set to an instance of an object, Bentley.Electrical.UI.PartsDatabase.DSelectPart.gridViewAbove_DoubleClick

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies