Correct runPrepStmt syntax

The user manual says that the syntax for runPrepStmt is:

runPrepStmt(Query, [Datasource], Parameters[])

where [Datasource] is optional. Is this correct, or is it actually:

runPrepStmt(Query, Parameters[], [Datasource])

The same question holds for runPrepStmtGetKey, which has a similar syntax.

No, the manual has it right…I’m guessing you’re asking because its not working?

Well, I would have sworn it wasn’t, but now it is. I guess I was having one of those “senior moments” that I’ve always heard people talk about.