Good AM:
I have struggling with constructing a string to execute some SQL. Here is my update statement
update teacherresource s set [student_enroll] = (([student_enroll] / variable1) * Variable 2 )) where(( trschool_id = 12 and [tryear] = forms!form1!yea rcombo) or (where trschool_id = 13 and [tryear = forms!form!year combo))
the variables are both numeric. I know the variables have to be converted to strings, i.e Crst().
If anyone knows of a good tutorial on this subject I would live to see it. I am lost in a sea of quotes and data mismatches. Thanks much,
Patti
I have struggling with constructing a string to execute some SQL. Here is my update statement
update teacherresource s set [student_enroll] = (([student_enroll] / variable1) * Variable 2 )) where(( trschool_id = 12 and [tryear] = forms!form1!yea rcombo) or (where trschool_id = 13 and [tryear = forms!form!year combo))
the variables are both numeric. I know the variables have to be converted to strings, i.e Crst().
If anyone knows of a good tutorial on this subject I would live to see it. I am lost in a sea of quotes and data mismatches. Thanks much,
Patti
Comment