社区
DataWindow
帖子详情
find中使用变量表达式问题,急
bobi1314
2003-04-27 04:47:00
在一个find表达式中一各变量部位字符串形式是一个整形形式请问怎么写
dw.find("group = '"+li_group+"'",1,dw.rowcount())
错误!!
怎么改正呢?让他实现。谢谢了!!
...全文
162
11
打赏
收藏
find中使用变量表达式问题,急
在一个find表达式中一各变量部位字符串形式是一个整形形式请问怎么写 dw.find("group = '"+li_group+"'",1,dw.rowcount()) 错误!! 怎么改正呢?让他实现。谢谢了!!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
11 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
qlqllu
2003-07-23
打赏
举报
回复
group 是否选上?
finsh
2003-07-22
打赏
举报
回复
同意楼上的
cooltnt
2003-04-29
打赏
举报
回复
还有更怪的。
检索日期的:
dw.find("string(date(col_date)) = '"+string(vale_date,"yyyy-mm-dd")+"'",1,dw.rowcount())
htp_htp
2003-04-29
打赏
举报
回复
long dwcontrol.Find ( string expression, long start, long end )
字段名是字符串所以如果该字段的类型是数据型的用如下语句
数据型:dw.find("group = "+ String( li_group ),1,dw.rowcount())
如果是字符型的用如下语句:
字符型:dw.find("group = '"+ls_group+"'",1,dw.rowcount())
JIANXIN_LU
2003-04-29
打赏
举报
回复
数据型:dw.find("group = "+ String( li_group ),1,dw.rowcount())
字符型:dw.find("group = '"+ls_group+"'",1,dw.rowcount())
zierben
2003-04-29
打赏
举报
回复
dw.find("rq =datetime('"+string(ld_date)+"')",1,dw_4.rowcount())
^_^ ,我还是习惯用datetime的,因为所有数据库都有datetime
bobi1314
2003-04-28
打赏
举报
回复
但是还是实现不不了,返回数据错误。-5
zierben
2003-04-28
打赏
举报
回复
dw.find("group = "+String(li_group),1,dw.rowcount())
肯定正确,如果是string的才能用
dw.find("group = '"+li_group+"'",1,dw.rowcount())
我没有想到一个可以用
dw.find("string(group) = '"+string(li_group)+"'",1,dw.rowcount())
语法的类型,请同意的那几位GG明示
谢谢
wujianlei9797
2003-04-27
打赏
举报
回复
同意楼上
cooltnt
2003-04-27
打赏
举报
回复
dw.find("string(group) = '"+string(li_group)+"'",1,dw.rowcount())
zhoutian618
2003-04-27
打赏
举报
回复
dw.find("group = "+String(li_group),1,dw.rowcount())
C++ find find_if 和 lambda
表达式
结合的理解和用法
C++ find 理解和用法
lambda
表达式
使用
及缺陷分析展示
文章目录1.lambda
表达式
与for_each、find_if间接1.1 用法简介1.2 捕获列表1.3 lambda
表达式
延迟调用易出错细节分析1.4 lambda
表达式
中
的mutable1.5 lambda
表达式
再演示和优点总结1.5.1 for_each
中
的lambda
表达式
1.5.2 find_if
中
的lambda
表达式
2.lambda
表达式
捕获模式的缺陷分析和展示2.1 捕获列表
中
的&2.2 形参列表可以
使用
auto2.3 成员
变量
的捕获
问题
2.4 广义lambda捕获2.5 静态局部变
lambda
表达式
for_each,find_if简介
#include <iostream> #include <functional> #include <algorithm> using namespace std; class CT { public: int m_i = 5; void myfuncpt(int x, int y) { auto mylambda1 = [this, &x, y]() { // 无论是 x = 5; y; .
Java正则
表达式
中
Matcher类的find方法多次调用的匹配
问题
首先,看下面的代码,我以为它三次调用find()方法都会返回true,但实际上并不是。 public class Demo { public static void main(String[] args) { String str = "hello 123!"; String regex = "(\\d+)"; Matcher matcher = Pattern.compile(regex).matcher(str); System.o
VBA
中
FIND方法的
使用
说明zz
Find 方法在区域
中
查找特定信息。 语法
表达式
.Find(What, After, LookIn, LookAt, SearchOrder, SearchDirection, MatchCase, MatchByte, SearchFormat)
表达式
一个代表 Range 对象的
变量
。 参数 名称必选/可选数据类型描述 What 必选 Variant 要搜索的数据。可为...
DataWindow
611
社区成员
20,469
社区内容
发帖
与我相关
我的任务
DataWindow
PowerBuilder DataWindow
复制链接
扫一扫
分享
社区描述
PowerBuilder DataWindow
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章