Quote, This can be accomplished by adding an External Data source Definition Mapping custom attribute to the property. The steps below is to add a list to Device Type Code property on Instrument but you can use this as a template for your "MotorType" requirement. NOTE - The current mapping custom attribute will only work with the Jet.OLEDB connection string. Locate the Device Type Code property on the Instrument class. To Device Type Code: Remove the default Value description attribute custom attribute. This will remove the default pick list. Modify or Add an ExtendType custom attribute. Edit as shown below. Add an External Data source Definition Mapping custom attribute. Fill it in as shown below. Now when you insert an instrument and pick on the Device Type Code drop down list, the values will be coming from the Schema.mdb, ins_pick table. I hope this helps, Tony DeRosa Bentley Plant
↧