@dbcommand

i use this codefor field that is text

@dbcommand(“odbc”;“UMS”;“”;“”;“select sum(course_credits) from education_student_course where semester_id='”+maxsemid+“'”)

note:maxsemid is a text field

but i get error

Incorrect data type for operator or @Function: Text expected

please i need help urgent