how can i create an database dynamically i.e. my code creating database while running taking an user input??
i have seen code like below working
Dim db As Database
Dim ReS As Recordset
Set db = OpenDatabase(App.Path + "\Data\" + Userinput + "\Memo.dat")
Set ReS = db.OpenRecordset("Memo")
ReS.AddNew
ReS("Title") = txtTitle.Text
ReS("Details") = txtDescription.Text
but if i do the same, i get an error - "invalid path"