# Re: 请帮我修正,那里错误??谢谢

Posted by 小琳 on July 27, 1999 at 21:10:14:

In Reply to: 请帮我修正,那里错误??谢谢 posted by 洪 on July 27, 1999 at 14:24:31:

: 在DataGrid,按ENTER移到下一笔
: IF 最后一笔,新增

: Private Sub DataGrid1_KeyUp(KeyCode As Integer, Shift As Integer)
: If KeyCode = 13 And (Not Adodc1.Recordset.EOF) Then
: Adodc1.Recordset.MoveNext
: If Adodc1.Recordset.EOF Then
: Adodc1.Recordset.AddNew
: Adodc1.Recordset("性别") ="男" ''***DataGrid1参数错误****
: Adodc1.Recordset.Update
: End If
: END IF
: End Sub

:::您的性别栏位是否字元还是布林型态!!!

Follow Ups:

- Re: 确定性别栏位是字元. 洪 23:41:57 7/27/99 (0)