I tried doing some thing like this..
public Simple_SearchExcel() throws ClassNotFoundException, SQLException{
Class.forName(dbDriver);
conn=DriverManager.getConn
cone=DriverManager.getConn
}
*******QUERY EXCEL FOR SWITCH*******
try {
ste=cone.createStatement()
rse=ste.executeQuery("Sele
while(rs.next()) {
Switch_txt = rs.getString(1);
Switch_vec.add(Switch_txt)
***SUPPOSE vector has a, b, c, d, e etc *******
}
********AND NOW QUERYING ACCESS**********
I want to check if ANY OF THE vector value is equal to Name of Access table then output result.
for eg there is a match for a,b,c of vector in Access table then 3 different rows of data with model, make should be returned.
Is it again posible thru SQL?
select model, make from AccessTabel where Name = Switch_vec
does this what you mean by linking in code?
Main Topics
Browse All Topics





by: CEHJPosted on 2005-02-14 at 09:14:10ID: 13306027
I don't think so. I think you'll have to link them in code