EDB Question

new topic     » topic index » view thread      » older message » newer message

I'm starting to code writing some data to my Database and I have a couple of
generic questions on the EDB commands:
1.) What exactly is returned when you do a db_create or db_open, at various
points it states that DB_OK is returned or 0 is returned.  Is DB_OK a variable
that equals 0?  Just wondering for my own education.

2.) If my database file exists or has to be created, I'm assuming we have to
give the file path. So:

db_create("c:\\somedir\\somesubdir\\myfile.edb")

Is this correct?

3.) Now, after creating/opening the EDB, we have to select it.  Do we need to
give the total pathname, or can we just give the file name, and do we need the
.edb extension?  i.e.

db_select("c:\\somedir\\somesubdir\\myfile.edb")

or is it:

db_select("myfile")

I'm sorry if this has been gone over before...if it has, just point me to where
and I'll stop bothering you guys!!!  But the manual is rather vague...

Thanks!
Rich

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu