如何在查询中使用容器或通用变量?
How to use container or generic variable in a query?
可以在查询中使用字符串值吗?
我的表单初始化方法中有这段代码:
container con;
select myTable
where myTable.MyFIeld == conPeek(con, 1);
//I would like to fill my stringEditControl
StringEdit.text(strFmt('%1', myTable.MyFIeld));
我有一个类似这样的错误:
"The fields of type string container and unconstrained are not allowed in the WHERE expression."
如何在查询中使用值字符串或容器(在本例中)?
感谢您的宝贵时间,
尽情享受吧!
在使用之前从容器中提取字符串是select语句:
MyTable myTable;
container con;
str 50 strValue;
strValue = conPeek(con, 1);
select myTable
where myTable.MyField == strValue;
StringEdit.text(strFmt('%1', myTable.MyFIeld));
可以在查询中使用字符串值吗?
我的表单初始化方法中有这段代码:
container con;
select myTable
where myTable.MyFIeld == conPeek(con, 1);
//I would like to fill my stringEditControl
StringEdit.text(strFmt('%1', myTable.MyFIeld));
我有一个类似这样的错误:
"The fields of type string container and unconstrained are not allowed in the WHERE expression."
如何在查询中使用值字符串或容器(在本例中)?
感谢您的宝贵时间,
尽情享受吧!
在使用之前从容器中提取字符串是select语句:
MyTable myTable;
container con;
str 50 strValue;
strValue = conPeek(con, 1);
select myTable
where myTable.MyField == strValue;
StringEdit.text(strFmt('%1', myTable.MyFIeld));