dhowells
9th September 2009, 17:58
Hello all. I am trying to create a simple function to validate the objects (form, script, etc) that is entered on a form. I have used the bic_info and this site and found the ottdllvrcsearch. Which is used in ttiex4110m000.
Whenever the object is searched I get a 506 table does not exist error and it blows out of the session. I can easily enough write code to validate the various object types, but would just assume use existing functions.
Any ideas?
Thanks,
Dan
Sample Code:
#pragma used dll ottdllvrcsearch
ttadv330.clan = "2"
ttadv330.cpac = "td"
ttadv330.cmod = "pur"
ttadv330.crep = "440101000"
if vrc_search_repobj( ttadv330.clan, ttadv330.cpac, ttadv330.cmod, ttadv330.crep, ttadv111.tdep, ttadv111.tver, ttadv111.trel, ttadv111.tcus ) < 1 then
e = e
...
Whenever the object is searched I get a 506 table does not exist error and it blows out of the session. I can easily enough write code to validate the various object types, but would just assume use existing functions.
Any ideas?
Thanks,
Dan
Sample Code:
#pragma used dll ottdllvrcsearch
ttadv330.clan = "2"
ttadv330.cpac = "td"
ttadv330.cmod = "pur"
ttadv330.crep = "440101000"
if vrc_search_repobj( ttadv330.clan, ttadv330.cpac, ttadv330.cmod, ttadv330.crep, ttadv111.tdep, ttadv111.tver, ttadv111.trel, ttadv111.tcus ) < 1 then
e = e
...