求帮看看这个表怎么建啊
网上找到的代码SELECT WJJ
DELETE ALL
*存放文件夹名称的表。
lcPath1=getdir("","请在下面选择文件夹:","选择文件夹",0
SET DEFAULT TO &lcPath1 &&.指定默认的驱动器、目录或文件夹。
KZ=ALLTRIM()
KZM=lcPath1+"*.*"
WJS1 = ADIR(SZ1,KZM,"D",0)
*WJS1 = ADIR(SZ1,"*.*","D",1)
IF WJS1 = 0
WAIT WINDOW "所选目录中没有文件!"
RETURN
ELSE
SELECT WJM
*存放文件名的表。
DELETE ALL
JLS=ALEN(SZ1,1)
FOR I=1 TO JLS
SELECT WJM
WJMH=SZ1(I,1)
SXH=SZ1(I,5)
*A=RIGHT(KZM,3)
IF LOWER(KZ) $ WJMH OR UPPER(KZ) $ WJMH
APPEND BLANK
REPLACE WJM WITH SZ1(I,1),LJ WITH lcPath1,SX WITH SZ1(I,5)
ENDIF
IF ("D" $ SXH)
SELECT WJJ
INSERT INTO WJJ(WJJM,RL,LJ) VALUES (SZ1(I,1),SZ1(I,2),lcPath1+SZ1(I,1)+"\")
ENDIF
ENDFOR
ENDIF
SELECT WJJ
IF RECCOUNT()#0
GO TOP
I=1
DO WHILE !EOF()
LJ0=ALLTRIM(lj)+"*.*"
LJH=ALLTRIM(lj)
JLH=RECNO()
IF LEN(ALLTRIM(WJJM))>2
*SET DEFAULT TO &LJH
WJS2 = ADIR(SZ2,LJ0,"D",1)
JLS=ALEN(SZ2,1)
FOR J=1 TO JLS
WJMH=SZ2(J,1)
SXH=SZ2(J,5)
IF LOWER(KZ) $ WJMH OR UPPER(KZ) $ WJMH
SELECT WJM
APPEND BLANK
REPLACE WJM WITH SZ2(J,1),LJ WITH ljh,SX WITH SZ2(J,5)
SELECT WJJ
ENDIF
IF "D" $ SXH
SELECT WJJ
INSERT INTO WJJ(WJJM,RL,LJ) VALUES (SZ2(J,1),SZ2(J,2),LJH+SZ2(J,1)+"\")
ENDIF
ENDFOR
ENDIF
SELECT WJJ
GO JLH
I=I+1
SKIP 1
ENDDO
ENDIF
SELECT WJM
INDEX ON WJM TO WJM
GO TOP
THISFORM.REFRESH
要先建立WJJ和WJM两个表,求帮看看这两个表要怎么设置。