July 7, 2008
I'm sure most of the ClearBasic brainiacs already know this (and I may have at one point), but the parameter to App.ShowSolution is a record of type "workaround", not a record of type "probdesc". I probably knew this at one time, but its been a long time since I've done ClearBasic coding. I'm blogging this so that I can find it again in the future, with Google's help, of course. If you call App.ShowSolution with a probdesc record, you get this ever-so-helpful pile of joy: Cannot map specific relation (type 1 with relation -3). Uh, yeah. Thanks. No, really. That was a helpful message. I'm in awe of your ability to render something so utterly useless. Freakin' programmers. Working code example: Sub ShowObject(objectType As String, idNumber As String) If objectType = "solution" Then objectType = "probdesc" …