| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1435 人关注过本帖
标题:求助:模糊查询
只看楼主 加入收藏
yafengliang
Rank: 2
等 级:论坛游民
帖 子:111
专家分:35
注 册:2016-2-21
结帖率:54.55%
收藏
已结贴  问题点数:4 回复次数:2 
求助:模糊查询
If !empty(Allt(Thisform.TEXT3.Value))
    Select cyon ,cyom From user_temp Order By cyom Where Allt(Thisform.TEXT3.Value) $ cyom Into Cursor temp1
   
    Sele temp1
    With thisform.list1
        .RowSourceType=6
        .RowSource="temp1.cyon"
        .ColumnCount=1
        .REQUERY
    Endwith
Else
    Nodefault
Endif
请教:user_temp是从sql取数据生成的临时表,以上代码在文本框中输入姓名拼音简码后,不能在listbox中显示名字?应该如何修改?

[此贴子已经被作者于2017-6-28 22:47编辑过]

搜索更多相关主题的帖子: 模糊 查询 Thisform Value 输入 
2017-06-28 22:46
sdta
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:江苏省连云港市
等 级:版主
威 望:335
帖 子:9798
专家分:26886
注 册:2012-2-5
收藏
得分:4 
     With thisform.list1
       .clear
       .RowSourceType=6
        .RowSource="temp1.cyon"
        .ColumnCount=1
    Endwith

坚守VFP最后的阵地
2017-06-29 10:16
yafengliang
Rank: 2
等 级:论坛游民
帖 子:111
专家分:35
注 册:2016-2-21
收藏
得分:0 
谢谢,已解决!
2017-06-29 22:41
快速回复:求助:模糊查询
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.022596 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved