When I pull the select query, but therefore cannot get the data that you check?

Hello

When I raised this query without get data then can you help me it's ok?

DataSource {
                        id: durgSearch_dataSource
                        source: "sql/durg.db"
                        query: "select * from durg_detail where durg_name =" + "\"" + searchTextField.text + "\""
                        onDataLoaded: {
                            durgSearch_dataModel.insertList(data);
                        }
                    }

Glance. I just tested your app and it works correctly. I entered Rock and search button and it returns a Rock record. If you want to get all records that contain a particular letter or Word, you can use the following query:

"select * from medicin_detail where PharmacyName LIKE '%" + searchTextField.text + "%'"

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Re: Missing webcam on my Satellite L500-1

    My Toshiba Satellite L500-1 built - in webcam stopped working today. It worked very well, and I made no changes to the system (Windows 7-64 bit), but the camera just stopped working.I can't find the camera in Device Manager, he just disappeared. I do

  • Upgrades for laptop

    I just bought a Hp laptop model 15-r126na running a pentium cpu r. Can what potential CPUs I put too. The system running windows 8.1 has 8 GB of ddr3 memory and a 1 to hdd Sara any help would be greatly appreciatedThank you

  • I opened my Windows Live Hotmail account, some time earlier than in March 2006. I lost all my old mails cached in the Inbox and Outbox before 2006.

    I opened my Hotmail account, some time earlier than in March 2006. I lost all my old mails cached in the Inbox and Outbox before 2006. I was wondering if I could pick the old mails th.

  • Problem with an application of text analysis

    Hello I am a beginner in labview and I have some problems with my application. I have the front of my VI, an area of input text and two arrays of strings: one that contains a few words I have to say if they can be found in the text. And the other tab

  • P1102w: Needs Attention

    I have a Laserjet p1102W, which States that the printer needs attention, I don't not the flashing lights on the printer, took the cartridge laser in and out without result, there paper in the test.  It will not work either when it is attached by a us