luigicannavaro
12-08-2008, 08:59 AM
Hi
Could you please give me some feedback to solve this problem?
For example: I have a table with 2 fields: ID and names. and anotther table with 1 field: fileID.
Rs.open "select * from table1, table2 where id=fileid and names like '%"& keywords & "%' "conn
Table1
ID Names
1 Economics
1 is
1 a
2 pathbreaking
2 journal
2 that
2 captures
3 the
3 advantages
Table2
FileID
1
2
3
Question: How I do to see
1. all records from tableA that match with names like '%"& keywords & "%' MORE the restriction I put: id=fileid, BUT that not shows the ID=FILE where there is not any MATCH!
2. How I show all names with same ID?
Best regards
Luigi Cannavaro
Could you please give me some feedback to solve this problem?
For example: I have a table with 2 fields: ID and names. and anotther table with 1 field: fileID.
Rs.open "select * from table1, table2 where id=fileid and names like '%"& keywords & "%' "conn
Table1
ID Names
1 Economics
1 is
1 a
2 pathbreaking
2 journal
2 that
2 captures
3 the
3 advantages
Table2
FileID
1
2
3
Question: How I do to see
1. all records from tableA that match with names like '%"& keywords & "%' MORE the restriction I put: id=fileid, BUT that not shows the ID=FILE where there is not any MATCH!
2. How I show all names with same ID?
Best regards
Luigi Cannavaro