VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Combines 2 different tables i.e Oracle or Access using Array.

Anil Iyengar  (4 Submissions)   Databases/Data Access/DAO/ADO   Visual Basic 5.0   Unknown Difficulty   Wed 28th June 2000   Mon 8th February 2021

Combines 2 different tables i.e Oracle or Access using Array.

API Declarations


‘THE MEMP IS THE MASTER TABLE AND THE OTHER 2 ARE THE CHILD.
‘BOTH TATTEND AND TALLWDED HAVE NO RELATION WHATSOEVER.
‘I HAVE TO COMBINE THEM BOTH USING THE EMPNO WHICH I HAVE ASSUMED TO
‘BE COMMON AND SO IT IS ORDERED BY THEM.
‘YOU CAN ALSO USE ANY TABLE THAT WAY.
‘JUST MAKE SURE WHICH TABLE YOU TO LINK

‘Put this in the general declaration of the form
Dim con As New ADODB.Connection’the connection variable
‘These are the recordset variables .i have used 6 to just show how each of them work
‘you can even reduce it .But I feel it is good to use the no. of recordset below and then
‘set it to nothing later in the Form_Unload ( )
Dim rs1 As New ADODB.Recordset
Dim rs2 As New ADODB.Recordset
Dim rs1a As New ADODB.Recordset
Dim rs2a As New ADODB.Recordset
Dim rs3 As New ADODB.Recordset
‘3 Array element of Variant type.Each array’s function is described below
Dim Arr1() As Variant
Dim Arr2() As Variant
Dim Arr3() As Variant
Dim i, j As Integer
‘These variables keep the count of records.
Dim rs1cnt, rs2cnt, rs3cnt As Integer
Dim max As Integer



Rate Combines 2 different tables i.e Oracle or Access using Array. (2(2 Vote))
Combines 2 different tables i.e Oracle or Access using Array..bas

Combines 2 different tables i.e Oracle or Access using Array. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters