Home > Community > Forums > Custom IC SKILL > type template

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 type template 

Last post Fri, Jul 2 2010 11:30 AM by elxa. 3 replies.
Started by elxa 01 Jul 2010 05:08 PM. Topic has 3 replies and 1292 views
Page 1 of 1 (4 items)
Sort Posts:
  • Thu, Jul 1 2010 5:08 PM

    • elxa
    • Not Ranked
    • Joined on Thu, Jul 1 2010
    • Posts 2
    • Points 25
    type template Reply

     Hi,

     

    When i get error  like this one:


    *Error* dbCreateVia: argument #2 should be a database object (type template = "ddltg") - 1

     

    where can i find what a database object of  "ddltg" type template is?

     

    Regards,

    Elxa 

    Filed under:
    • Post Points: 20
  • Thu, Jul 1 2010 10:28 PM

    • Quek
    • Top 10 Contributor
    • Joined on Wed, Oct 14 2009
    • Singapore, 00-SG
    • Posts 1,063
    • Points 16,185
    Re: type template Reply

    Hi Elxa

    The part about the template should not be important. It is just a result of using the wrong input for dbCreateVia SKILL cmd. If you are running a script, you would need to debug it to find the cause of the error.

    Best regards
    Quek

    • Post Points: 20
  • Thu, Jul 1 2010 11:45 PM

    Re: type template Reply
    Hi Elxa,

    The type template is a way of functions encoding their expected argument types, and is covered in the SKILL language user guide.

    In this case it is telling you that it expects two database objects, then a list, then a text string, and then a generic object (ie it doesn't check the type of the fifth arg).

    The specific error in this case expands the data type into something more readable, and says that the second argument should be a database object but you've passed a number.

    Best Regards,

    Andrew
    • Post Points: 20
  • Fri, Jul 2 2010 11:30 AM

    • elxa
    • Not Ranked
    • Joined on Thu, Jul 1 2010
    • Posts 2
    • Points 25
    Re: type template Reply

     Thanks,

    The answer helped me to get started.

     

    Best Regards,

    Elxa

     

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by elxa at 01 Jul 2010 05:08 PM. Topic has 3 replies.