I can count rows form table but can't save data
IfFile.Exists(File.DirDefaultExternal,"HDSS.db")=FalseThen
File.Copy(File.DirAssets,"HDSS.db",File.DirRootExternal,"HDSS.db")
EndIf
SQL1.Initialize(File.DirRootExternal,"HDSS.db",True)
SQL1.ExecNonQuery("INSERT INTO BIRTH (UNIT,SEQ_NO,SRNO,REP_VILL)
VALUES
('"& unittxt.Text &"','"& pcnotxt.Text &"','"&slnotxt.Text&"','"&repvilltxt.Text&"')")
Msgbox("Birth Record Saved ","")
IfFile.Exists(File.DirDefaultExternal,"HDSS.db")=FalseThen
File.Copy(File.DirAssets,"HDSS.db",File.DirRootExternal,"HDSS.db")
EndIf
SQL1.Initialize(File.DirRootExternal,"HDSS.db",True)
SQL1.ExecNonQuery("INSERT INTO BIRTH (UNIT,SEQ_NO,SRNO,REP_VILL)
VALUES
('"& unittxt.Text &"','"& pcnotxt.Text &"','"&slnotxt.Text&"','"&repvilltxt.Text&"')")
Msgbox("Birth Record Saved ","")