AnsweredAssumed Answered

Filter Data Geodatabase

Question asked by jay.kapalczynski on Dec 26, 2019
Latest reply on Dec 27, 2019 by jay.kapalczynski

I have a local .geodatabase on my mobile device.  I can read it fine. 

I am now attempting to set a where clause or filter that allows the user to click a button and filter / ONLY show data that is there based on the Created_User field


Can I just set a WHERE clause in the Geodatabase or do I nee to do something else...


I would like to be able to click the button to just show that specific persons from the field and then click the button again and go back to ALL data.




                FeatureLayer {
                    id: Points
                    visible: false
                    featureTable: gdb.geodatabaseFeatureTablesByTableName["Hunting"]
                    // create the geodatabase
                    Geodatabase {
                        id: gdb
                        path: Path
                        onErrorChanged: errorMessage = error.message;
                    onErrorChanged: errorMessage = error.message;