当前位置: 代码迷 >> VFP >> 一个小 有关问题
  详细解决方案

一个小 有关问题

热度:4517   发布时间:2013-02-26 00:00:00.0
一个小 问题
表单上有 grid ,text1,command1
代码如下

select 编号 from tablename into cursor name2 oder by 编号 desc

thisform.gird1.recordsource = "name2"

现在需要解决的问题是:

点击command1 后

text1 显示 grid 排序后第一个数值 +1

就是递增1 我不想每次手动输入
怎么实现啊?




------解决方案--------------------------------------------------------
goto top in name2
thisform.text1.value = name2.编号+1
  相关解决方案