字符串用加号连接正常,用&连接在内置的数据库正常,在外联的sql server数据库就出问题,公式短的时候正常,长了就有问题。IF([MAC地址] = "","",IF([在用] = 1,"ARP STATIC " & [IP地址] & " " & MID([MAC地址],1,2) & MID([MAC地址],4,2) & "-"& MID([MAC地址],7,2) & MID([MAC地址],10,2),""))正常,IF([MAC地址] = "","",IF([在用] = 1,"ARP STATIC " & [IP地址] & " " & MID([MAC地址],1,2) & MID([MAC地址],4,2) & "-"& MID([MAC地址],7,2) & MID([MAC地址],10,2) & "-" & MID([MAC地址],13,2) & MID([MAC地址],16,2),""))就不正常。后来把&改为+号后通过了 |