我如何将表中的字段自动读到combo列表中去呀?

 所属目录:Java   |   类型:技术问答   |   时间:2007-05-21
 问题:

初学,请多指教。

· 网友精彩回答:

发表者:of123

dim   db   as   dao.database  
  dim   otd   as   dao.tabledef  
  dim   i   as   long  
   
  set   db   =   workspaces(0).opendatabase(dbpath)  
  set   otd   =   db.tabledefs(tablename)  
   
  with   otd  
          for   i   =   0   to   .fields.count   -   1  
                  combo1.add   .fields(i).name  
          next  
  end   with  
   
          db.close

.
处理 SSI 文件时出错
© 2006-2008 All Rights Reserved