Difference between revisions of "Error Messages/40858"

Line 21: Line 21:
 
= Remedies =
 
= Remedies =
  
Correct the first parameter to the first function to be a dbIndex defined by either the [[DbQuery|DbQuery()]] or the [[DbWrite|Dbwrite()]] function.
+
Correct the first parameter to the function to be dbIndex index defined by either the [[DbQuery|DbQuery()]] or the [[DbWrite|Dbwrite()]] function.
  
 
<br><comments />
 
<br><comments />

Revision as of 02:00, 5 February 2010

Error Message Examples

First parameter to DbTable must be defined with a DbQuery() or Dbwrite() function.
First parameter to DbLabels must be defined with a DbQuery() or Dbwrite() function.

Cause

The first parameter passed to the function mentioned in the error message must be a dbIndex, variable in your Analytica model defined with DbQuery() or Dbwrite() function.

The following code shows an example of using the DbLabels with another object defined with DbQuery:

Definition of DBRows:
DbQuery("DSN=Sample Database", "Select * From Customer") </code

Definition of DBColumnNames:
DbLabels(DBRows);

Remedies

Correct the first parameter to the function to be dbIndex index defined by either the DbQuery() or the Dbwrite() function.



You are not allowed to post comments.

Comments
<comments />