Hi, I ve two recordsets which have the same primary key: combination of two columns called 'item_no' and 'Order_id'..... Both recordsets have this primary key(combination) and rest other different columns...
Now, I want to order the(those) rows in two recordsets such that the position of the records(with same primary key values) should be same...
E.g consider rset1 and rset2... having the above columns as primary key combination and row5 in rset1 has values for 'item_no' and 'order_id' as 2 300 and row 8 in rset2 has values for the above as 2 300 (which is same)....
1) Now i want to bring row5 (in rset1) to position 8 sucht that both records are same at position in the recordsets
2) if no common records found in both rsets... then i'll leave it blnk at tht position(in rset1) for corresponding row (in rset2) [meaning tht for a record in rset2 ther is no correspondin record existin in rset1]
It's always made sure tht no: of records in rset2 > tht in rset1...
Can u help how to go with the alignment of records in recordset in VB6.0 as i wod be binding these recordsets to Excel for displaying side by side??
Any in built method(to do alignment or anythin) in VB6.0??