The command \defineframedtable is used for defining named \startframedtable environments.
All issues with: