Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9071

Re: et_Choose_From_List not triggering

$
0
0

Hi Eric,

 

To be honest, I didn't add in the CFL and DS objects to the srf file because when I did the choose from list field wouldn't even appear and even entering the field triggered an error.  It was probably something to do with the design of my DS object in the srf file, but I found this solution to be quicker and worked almost just as well.  At least now there is no error and the CFL appears and populates, now if only I could get my event to trigger.

 

I tried moving the creation code for my CFL and DS objects.  They are now created just after I populate oForm with the association of the form.  Still nothing seems to trigger.

 

On a strange side note, is there something specific required for debugging to actually work?  As it stands I have to build my solution and deploy it into a test environment every time.  I noticed example codes debug just fine with the same connection code of:

 

        Dim SboGuiApi As SAPbouiCOM.SboGuiApi

        Dim sConnectionString As String

 

 

        SboGuiApi = New SAPbouiCOM.SboGuiApi

 

 

        '// by following the steps specified above, the following

        '// statment should be suficient for either development or run mode

 

 

        sConnectionString = Environment.GetCommandLineArgs.GetValue(1)

 

 

        '// connect to a running SBO Application

 

 

        SboGuiApi.Connect(sConnectionString)

 

 

        '// get an initialized application object

 

 

        SBO_Application = SboGuiApi.GetApplication()

 

 

Mine runs the same code in the connection, but the array returned by environment.getcommandlineargs.getvalue(1) is only an array of one (ie: I run into an array index out of bounds exception.)  Could this have something to do with the location of my project folder or something extraneous?


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>