Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Screwtape on August 27, 2014, 11:11:16 pm
-
Hi,
I've a really simple query and yet I'm getting this error message "Too Few Parameters - Expected 1" each time the fragment is called.
The SQL is
SELECT name FROM t_object
where stereotype = "StartEvent"
and t_object.parent_id = #OBJECTID#
which seems so simple there couldn't be anything wrong with it, but I might just be blind.
Any help with this would be great! Thanks!
Screwtape
-
Remove the underline in ParentID
q.
-
Thanks - it's always something simple.
By the way - it's listed as Parent_ID in section 2.4.1 of Inside Enterprise Architect, or at least on the online preview that I was looking at...
-
:-[ So you're the first one falling in that typo-trap. I'll make a correction immediately. Just download the pdf in a couple of hours.
<rant> One of those inconsistencies. Some names use underline, others don't.</rant>
q.