vfp编排考场
											如何按照g1sz表中的考场号,教室,
	
		
			[此贴子已经被作者于2016-10-29 14:46编辑过]
[此贴子已经被作者于2016-10-29 14:46编辑过]
	    2016-10-29 14:35
  
	    2016-10-29 14:43
  
	    2016-10-29 14:44
  
	    2016-10-29 16:17
  
	    2016-11-22 15:17
  
	    2016-11-22 15:24
  
程序代码:clear
close databases all
select * from g1sz into array akcxx
*list memory like akcxx
use g1 
go top
for i=1 to alen(akcxx,1)
    for j=1 to akcxx[i,3]
        replace kch with akcxx[i,1],js with akcxx[i,2],kcxh with j,kcrs with akcxx[i,3]
        if not eof()
            skip 1        
        else
            exit
        endif
    endfor
    if eof()
        exit
    endif
endfor
browse
										
					
	
	    2016-11-22 15:28
  
	    2016-11-22 15:31
  
	    2016-12-09 09:53