打印本文 打印本文  关闭窗口 关闭窗口
实验Recordset.Movenext,Recordset.Previous,Recorset...等移动记录
作者:采集员 文章来源:来源于网络 点击数: 更新时间:2005/9/10 13:48:56
nbsp;                                
Sub cmdDown_OnClick                                    
'在 Input Boxes 窗体和 Submit 窗体中设置值。                                                                 
   Document.Form.MoveAmount.Value = -1                                    
   Document.Form.Submit                                    
End Sub                                                                       
Sub cmdUp_OnClick                                                                        
   Document.Form.MoveAmount.Value = 1                                    
   Document.Form.Submit                                    
End Sub                                                                        
Sub cmdFirst_OnClick                                                                       
   Document.Form.MoveFirst.Value = 2   Document.Form.Submit                                      
End Sub                                                                        
Sub cmdLast_OnClick                                                                        
   Document.Form.MoveLast.Value =3                                    
   Document.Form.Submit                                    
End Sub                                    
</script>                                                            
</html> 

上一页  [1] [2] 



打印本文 打印本文  关闭窗口 关闭窗口