This is what I have so far:
The FeatureLayer is defined in ArcMap as a Query Layer; data is fed by the database table SITES with numeric LON and LAT coordinates; points are displayed as XY Data from these LON and LAT coordinates.
This is what the application is supposed to do:
When a user selects one or several sites (with mouse click), the OBJECT_ID of the selected objects and the USER_ID of the actual user must be written in another database table called SITES_USERSELECTION. This table has only two attributes USER_ID and OBJECT_ID, defined as compound primary key. No spatial attributes are required.
I know already how to extract the USER_ID and OBJECT_ID from my data.
This is where I'm stuck:
How can I write my selection into my database table SITES_USERSELECTION? Any hints?
Thanks in advance for your help!