Are you using scripts from main?

Because the DB_Dialogs() shouldn't work unless you have either written your own statement to make it work, or you are using the _PROC file.

Or are you using the stand alone project template?