Originally posted by hariharanmca
Code:
Private Sub cmdNext_Click() Call rLOAD MsgBox storyboard.RecordCount If Not storyboard.EOF Then storyboard.MoveNext Call Fill end if End sub
Private Sub cmdNext_Click() Call rLOAD MsgBox storyboard.RecordCount If Not storyboard.EOF Then storyboard.MoveNext Call Fill end if End sub
Private Sub cmdNext_Click() Call rLOAD MsgBox storyboard.RecordCount If Not storyboard.EOF Then storyboard.MoveNext Call Fill end if End sub
Sub rLOAD() Set storyboard = New ADODB.Recordset ' Open Recordset If CON.State = 1 Then MsgBox "Connection is opened" Else MsgBox "Connection is not opened" End If storyboard.Open "SELECT seq, sc1, images, pan, act, dial FROM xyzTBL WHERE sc1 = '" & sc1combo.Text & "'", CON, adOpenStatic, adLockReadOnly
Sub rLOAD() Set storyboard = New ADODB.Recordset ' Open Recordset If CON.State = 1 Then MsgBox "Connection is opened" Else MsgBox "Connection is not opened" End If storyboard.Open "SELECT seq, sc1, images, pan, act, dial FROM xyzTBL WHERE sc1 = '" & sc1combo.Text & "'", CON, adOpenStatic, adLockReadOnly
Private Sub Form_Load() Set CON = New ADODB.Connection CON.CursorLocation = adUseClient myconnection Call tblLOAD projecttxt.Text = storyboard!project 'episode.Text = storyboard!episode storyboard.MoveFirst Call sceneLOAD Do While Not storyboard.EOF scenecombo.AddItem storyboard!sceneid 'List all the sceneID items into the ComboBox storyboard.MoveNext Loop ' Close Recordset storyboard.close ' Clear the memory Set storyboard = Nothing End Sub
Private Sub Form_Load() Set CON = New ADODB.Connection CON.CursorLocation = adUseClient myconnection Call tblLOAD projecttxt.Text = storyboard!project 'episode.Text = storyboard!episode storyboard.MoveFirst Call sceneLOAD Do While Not storyboard.EOF scenecombo.AddItem storyboard!sceneid 'List all the sceneID items into the ComboBox storyboard.MoveNext Loop ' Close Recordset storyboard.close ' Clear the memory Set storyboard = Nothing End Sub
Comment