B4A Library SD: BindingNavigator (Sqlite GUI Navigator)

Star-Dust

Expert
Licensed User
Longtime User
Method AddGroupView

B4X:
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.

    Private DBr As NavigatorBar
    Private Panel1 As Panel ' Main panel where the views linked to the table will be attached
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.LoadLayout("Layout1")

    File.Copy(File.DirAssets,"user.s3db",File.DirInternal,"user.s3db")
  
    DBr.ConnectDB(File.DirInternal,"user.s3db",False)
    DBr.FontAW=Typeface.FONTAWESOME
    DBr.AddGroupView(Panel1)
    DBr.Query("SELECT * FROM user","ID")
End Sub

 

Attachments

  • Example4.zip
    11.6 KB · Views: 515

fernando1987

Active Member
Licensed User
buonanotte, spero che tu stia bene grazie mille la creazione della tua libreria bindingnavigator è stata molto utile, vorrei chiedere se c'è un modo per sapere che la query non è stata eseguita è dire quando non viene eseguita non mi invia alcun messaggio di errore o avviso Sto usando un set di dati Vorrei mettere a avviso quando la query non ha trovato alcun risultato, apprezzerei molto il tuo aiuto e scusami se non sono molto bravo con l'italiano.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…