jssfxzx16214628 2015-12-20 06:08 采纳率: 0%
浏览 1499

_DBRecNo( ) 具体使用该函数? how to use _DBRecNo

Visual FoxPro 9.0 Language Reference

_DBRecNo( ) API Library Routine

long _DBRecNo(int workarea)int workarea; /* Work area. */

Remarks

If no table is open in the specified work area, _DBRecNo( ) returnsa negative integer whose absolute value is a Visual FoxPro error number. If therecord pointer is at the end of file, _DBRecNo( ) returns a number that is 1greater than that returned by _DBRecCount( ).
For more information on how to create an API library and integrateit with Visual FoxPro, see [url=">Accessing the VisualFoxPro API.

Example

The following example provides functionality similar to that of theVisual FoxPro RECNO( ) function.

Visual FoxPro Code

Copy Code
SET LIBRARY TO DBRECNODO CreateTestGO 3? DBRECNO()GO 6? DBRECNO()USE? DBRECNO() && returns -119PROCEDURE CreateTestCREATE TABLE test (ABC C(20))APPEND BLANKREPLACE ABC WITH "This is record 1"APPEND BLANKREPLACE ABC WITH "This is record 2"APPEND BLANKREPLACE ABC WITH "This is record 3"APPEND BLANKREPLACE ABC WITH "This is record 4"APPEND BLANKREPLACE ABC WITH "This is record 5"APPEND BLANKREPLACE ABC WITH "This is record 6"GO TOPRETURN

See Also

Other Resources

_DBRecCount( ) API LibraryRoutine[/url]

Accessing the VisualFoxPro API
Records
APILibrary Routines A-Z
<a href=]API Library Routines byCategory[/url]

qq:1280737814https://shop67511955.taobao.com/

  • 写回答

2条回答 默认 最新

  • Robot-S 2015-12-20 06:09
    关注

    From Forum Nokia Wiki

    Reviewer Approved   
    Featured Article   

    Contents

    1 General
    2 RDebug::Print format
    3 Enabling RDebug output in the emulator
    4 Viewi......
    答案就在这里:如何使用RDebug - How to use RDebug
    ----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?

    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题