Skip to Content
Jun 01, 2004 at 07:19 AM

Accessing data from standard fields



My question is simple. How do I get the data from a standard field?

As an exsampel i need to get the item-code from the displayed storage item, but how do i get this. I have tried the following

- Connect to the SBO-client

<i>(As normal)</i>

- Added eventhandlers

<i>(Standard Eventhandlers)</i>

- Now I catch the event of the next datarecord menuitem (1288) and want to get the item-code from the displayed in the item-window

I've tried using getting the Datasource for the item-code (Item 5) but the value is always empty.

Could anyone give me a quick exampel how they get a value from a standard datasource-field please?