Forum Discussion
AlexKaras
12 years agoCommunity Hero
> [...] is trying to set localCourseID to a type of [object]
When variable or expression evaluates to an object in the Evaluate dialog, the Inspect button becomes enabled. If you press it, you'll drill down to the window that might (depending on the evaluated object) show you the fields that can be accessed. Go through the fields' list and check if some of them exposes the CourseID value (most probably, this will be the OleValue one). In this case you should be able to execute something like this:
Project.Variables.t2350_CourseID = localCourseID.OleValue;
When variable or expression evaluates to an object in the Evaluate dialog, the Inspect button becomes enabled. If you press it, you'll drill down to the window that might (depending on the evaluated object) show you the fields that can be accessed. Go through the fields' list and check if some of them exposes the CourseID value (most probably, this will be the OleValue one). In this case you should be able to execute something like this:
Project.Variables.t2350_CourseID = localCourseID.OleValue;