1. Scott Roberts
  2. Valentina Database ADK
  3. Saturday, June 02 2018, 06:27 PM
  4.  Subscribe via email
I am attempting to open a database in a LiveCode project. The VDatabase_Open() method returns error 0x59502. When I attempt to retrieve the VDatabase_ErrString property, the result is not a readable string. (By the way, I am not sure whether the path to the local database file should have a trailing slash. I have tried it both with and without the slash.)

The output to the vlog file is:

Valentina_DebugLevel...
PARAM: inLevel = "kLogParams
"
return

VDatabase_Constructor...
PARAM: inEnumStorageType = "0"
return revDb = 106377836319632


VDatabase_Open...
PARAM: dbRef
= "106377836319632"
PARAM: inStrPath = "/Users/ScottR/Documents/Financial Projection/FinancialProjection/"
ERROR: 0x59502 ­¾^ñYݺMë€`

return

VDatabase_ErrNumber...
PARAM: dbRef = "106377836319632"
ERROR: 0x59502 ­¾^ñYݺMë€`

return gV4REV_Error = 365826

VDatabase_ErrString...
PARAM: dbRef = "106377836319632"
ERROR: 0x59502 ­¾^ñYݺMë€`

return res = "­¾^ñYݺMë€`"

VDatabase_Close...
PARAM: dbRef = "106377836319632"
return

VDatabase_Destructor...
PARAM: dbRef = "106377836319632"
return (vuint32)0 = 0
Comment
There are no comments made yet.
Scott Roberts Accepted Answer
I figured out the issue with not being able to open the database. I needed to specify the database name with the "vdb" extension along with the path.

However, I still need to know how to get a readable string from VDatabase_ErrString. (Apparently, the error I was receiving was a "file not found" error.)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 1
Ivan Smahin Accepted Answer
Indeed, something happened to Valentina_ErrString, could you please report it to the Mantis?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 2
Ivan Smahin Accepted Answer
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 3
Scott Roberts Accepted Answer
Thank you for fixing this. I clicked the link to setup a new login on Mantis yesterday but have not received an email authorizing my login, so I wasn't able to report it myself.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 4
Scott Roberts Accepted Answer
Do you know when this will be available in a release? I am unable to continue my development until I know why the ADK is rejecting some of my SQL commands. There is one in particular where I am trying to create a table. The command works in Valentina Studio but does not work when passed to SQL_Execute.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 5
Ivan Smahin Accepted Answer
I believe it would be available nearest days.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories