查看v$access
select * from v$access where type='TABLE' and object='TABLENAME';

解决方案 »

  1.   

    实现方法: 
    可以用以下语句:
    select user_name,sql_text
     from v$open_cursor
     where sid in (select sid from (select sid,serial#,username,program
     from v$session
     where status='ACTIVE'))
    子查询
    select sid,serial#,username,program
     from v$session
     where status='ACTIVE'
    查出的是不活动的session的sid。
      

  2.   

    if used('table') = .T.
    endif
      

  3.   

    jjdelphi:
    最近发的帖子比较多嘛,我这里有一个.chm格式的Vfp 6的中文帮助文档,要不要?
      

  4.   

    to liylwmx:我用的是5.0,不知道可以用吗?
      

  5.   

    有个子程序,你研究一下:function fusedbf(dbf_ph_na, exc_sha, newali, dbf_ali, rd_only)
    private cexc_sha, cnewali, crd_onlycnewali=iif(newali,'alias '+dbf_ali,'')
    cexc_sha=iif(exc_sha,'exclusive','shared')
    crd_only=iif(rd_only,'NOUPDATE','')on error return .f.
    use (dbf_ph_na)  &cnewali  &cexc_sha  &crd_only
    on errorreturn .t.
      

  6.   

    可能有些6.0新增的功能不能用,但函数、方法、属性等说明全是中文的,
    另还有一FAQ(.chm)!要不要?