# 请问错在那里 ?

Posted by 普罗米修斯 on June 09, 1998 at 10:48:01:

执行以下程式码 , 出 " 形态不符 " :

Dim SQL As String
Dim Rate As Single
Dim db As Database
Set db = OpenDatabase("C:\AA\AA.MDB")
Rate = Form.Text3
SQL = "UPDATE SQLTABLE SET Price = Price * " & " " + Rate + " " & " WHERE Currency = 'HK$'"
db.Execute SQL

请问错在那里 ?

Follow Ups:

- Re: 请问错在那里 ? Koi 01:53:02 6/10/98 (0)
- 字串相加是用 & 号 小吴 17:46:43 6/09/98 (1)
  - Re: 其实用+也不是不可以......可能错在..... 郑佩娟 19:38:28 6/09/98 (0)