Page 1 of 1

invalid database id and database does not exist

PostPosted: Thu Aug 07, 2014 10:22 am
by zina
Hello everybody
I am an absolutly newbie in neobook

I created an access database and a page in neobook
I made this code in bookproperties actions
dbpOpenAccessDatabase "cafe" "[PubDir]dblisette.accdb" ""
dbpOpenTable "cafe" "namen" ""
and i get the two errors mentioned in the titel
what am i doing wrong?

Thanks
Zina

Re: invalid database id and database does not exist

PostPosted: Fri Aug 08, 2014 7:11 am
by dpayer
zina wrote:i get the two errors mentioned in the titel
what am i doing wrong?
Thanks
Zina


Zina, To see if there is fundamentally wrong, I would try using an absolute address for the database instead of one defined by the pubdir. Also make sure it is in a place that can read/write to the database. Sometimes the pubdir doesn't allow you to write to it as it is in Program Files or another restricted place.

If you have the file open in Access it may not be simultaneously available in your app.

Re: invalid database id and database does not exist

PostPosted: Fri Aug 08, 2014 7:19 am
by zina
Thanks

it works without the ยจ[pub dir]

grtz