DarkBasic Pro has ALOT of quirky features... or rather the IDE does.
You need to ADD any files your going to #include into your project, which as indi notes also requires you to save a .dbpro file
i would always test with this simply function if you're able to actually access a DBA
function Validate_DBA()
FReturn as Boolean : FReturn = 1
endfunction FReturn
if you add to your project and then use the #include and still can't get the file to add then there is something screwy going on with your version of Pro and i'd recommend sending Lee an email about it.
kinda silly that you have to make sure so much is "pre" setup and yet pro won't even automatically add the '#include "file.dba"' which just seems wrong somehow.
i'm kinda happy i don't have to put up with alot of the quirks of DBpro IDE anymore, cause some are more work than they're there to save you.
Anata aru kowagaru no watashi! 