We wanted to get the text from the textfield to match it with our database and so we did this code but unfortunately we get a runtime error saying "FUNCTION srchTxfld.getTe xt does not exist"
...then we tried converting the content of textfield to a string but doesn't return any result.
Any suggestions? Thanks!
Code:
String query1 = "SELECT * FROM clipdetails WHERE MATCH(clipTitle, clipAuthor, clipDate, clipNewspaper, clipSubject) AGAINST (srchTxfld.getText())";
Code:
String x = srchTxfld.getText(); String query1 = "SELECT * FROM clipdetails WHERE MATCH(clipTitle, clipAuthor, clipDate, clipNewspaper, clipSubject) AGAINST (x)";
Any suggestions? Thanks!
Comment