如何同时执行几条修改语句(急需)
在一个按键中执行以下语句'设置要执行的命令文本
= "update InPatient set outtime=getdate(),outsign='1' where outsign='0' and hoscode='" & Trim(Text1) & "' "
= "update factstatus set well=1 where hoscode='" & Trim(Text1) & "' "
= "update Advice set EndTime=getdate() where hoscode='" & Trim(Text1) & "' "
= "update Advicelist set OutSign='1' where OutSign='0' and hoscode='" & Trim(Text1) & "' "
= " update Bed set HosCode =null where hoscode='" & Trim(Text1) & "' "
End If
执行一条可以,多条则不行,为什么?