Hi Jimmy,
It worked now. I believe its due to a repeated mapping as seen in attached screenshot. I have another MSLB where instead of removing the selections, I add them to another table. It seems that was causing some confusion for the mapping. I've removed the maps and will map to a new table now.
Now all I need is hopefully run a stored procedure on the mapped table. This will do the updates on the master table based on the engagements in my mapped table. I'm having trouble with the ADOQueryconnections. Meanwhile, I'm using DB triggers to do the updates. Not the most beautiful way but gets the job done :)
Do you happen to know why my sql statement below is not executing? I've put the code below as my button code.
Dim myAdoQueryConnection As AdoQueryConnection = Me.DataConnections("ETS_Group_Engagement")
myAdoQueryConnection.Command = "update formdb..ETS_Group_Engagement set EngagementCode = '1111' where EngagementCode = '0612' "
myAdoQueryConnection.Execute()
*************************
ETS_Group_Engagement is my SDC which uses a database connection instead of a webservice call. Connection to the database table is valid because I have a dummy field pulling data from the table. However, the execute statement does not update my table. No error during debug mode also.
myAdoQueryConnection.Execute()