P parijs Active Member Licensed User Longtime User Feb 17, 2012 #1 Hi, I want to give my db the name of the street B4X: In Main adress = "DowningStreet" SQL.Initialize(File.DirRootExternal, "Transmis/" & Main.adress & "&".db", True) Everything up until now I tried gave me an error. :sign0163:
Hi, I want to give my db the name of the street B4X: In Main adress = "DowningStreet" SQL.Initialize(File.DirRootExternal, "Transmis/" & Main.adress & "&".db", True) Everything up until now I tried gave me an error. :sign0163:
Kiffi Well-Known Member Licensed User Longtime User Feb 17, 2012 #2 the String is not correct: B4X: SQL.Initialize(File.DirRootExternal, "Transmis/" & Main.adress & ".db", True) Greetings ... Kiffi //Edit: Works as expected: B4X: Dim address As String address = "DowningStreet" File.MakeDir(File.DirRootExternal, "Transmis") SQL.Initialize(File.DirRootExternal, "Transmis/" & address & ".db", True) Last edited: Feb 17, 2012 Upvote 0
the String is not correct: B4X: SQL.Initialize(File.DirRootExternal, "Transmis/" & Main.adress & ".db", True) Greetings ... Kiffi //Edit: Works as expected: B4X: Dim address As String address = "DowningStreet" File.MakeDir(File.DirRootExternal, "Transmis") SQL.Initialize(File.DirRootExternal, "Transmis/" & address & ".db", True)