我用这名是正常的,
SELECT * FROM 客户订单 WHERE 姓名 = "刘晓辉" and DTOC(购买日期) = "2017/09/15"
我只加了 INTO cursor
jg1就没有变化
SELECT * FROM 客户订单 WHERE 姓名 = "刘晓辉" and DTOC(购买日期) = "2017/09/15" INTO cursor
jg1
后来加了二句可以了。谢谢
thisform.grid1.RecordSource = "jg1"
thisform.grid1.RecordSourceType = 1