这个字符串的format该怎么写啊?
匆匆岁月 2005-07-27 09:57:34 下面的这个字符串,我想最后的结果是:
str := Select FBin From TBinArticles where FBin like '%abc%'
其中,FBarCode := 'abc';
str := Format(' Select FBin From TBinArticles where FBin like ' +
''''' + ''%' + '%s' + '''%' + '''',[FBarCode]);
ShowMessage(str);
我用上面的写法,运行时报错是:
Format '%'' invalid or incompatible with argument.
哪位指点一下啊。。。