G
Guest
Bear with me, please... 
TableA on Database1:
CodCli -- Name -- Age -- SalesCod
(...) (...) (...) (...)
TableB on Database2:
Key -- CodCli -- Date -- Value
(...) (...) (...) (...)
[Using Vs 2003.net Crystal Report]
We need to see and print all rows from TableB that as the SalesCod = "user
input".
Something like:
Select CodCli from TableA where SalesCod= "User Input" and (select * from
tableB
I can not do this because the tables are in diferent databases
((
My solution:
1) Create 2 datasets from tableA and TableB
2) Create on the fly 1(one) table in the database, that as the information
from the two tables.(put the 2 datasets into the table).
3) create a new dataset from the new table and then query this new table.
I have no idea on how to implement point 2).
If anyone has o new idea please point me in the right way....I´m complety
lost

TableA on Database1:
CodCli -- Name -- Age -- SalesCod
(...) (...) (...) (...)
TableB on Database2:
Key -- CodCli -- Date -- Value
(...) (...) (...) (...)
[Using Vs 2003.net Crystal Report]
We need to see and print all rows from TableB that as the SalesCod = "user
input".
Something like:
Select CodCli from TableA where SalesCod= "User Input" and (select * from
tableB
I can not do this because the tables are in diferent databases

My solution:
1) Create 2 datasets from tableA and TableB
2) Create on the fly 1(one) table in the database, that as the information
from the two tables.(put the 2 datasets into the table).
3) create a new dataset from the new table and then query this new table.
I have no idea on how to implement point 2).
If anyone has o new idea please point me in the right way....I´m complety
lost