CLOSE ALL CLOSE DATABASES OPEN DATABASE D:\GIN2006\TABLES\ACCOUNT tbname=justfname(thisform.pageframe1.page2.list1.value) USE &tbname gnFieldcount = AFIELDS(gaMyArray) FOR nCount = 1 TO gnFieldcount ? gaMyArray(nCount,1) ENDFORThe above codes work fine.