tdaly62
2nd October 2014, 00:06
I have a custom function, and when compiling, I'm receiving 'Unresolved reference to function 'get_nama'. I'm fairly new to Baan, so any help is appreciated.

Code snippet is below:

function read.main.table()
{
select adsls887.*
from adsls887
where adsls887._index1 inrange {:semno.f, :cplt.f, :icno.f, :stdt.f}
and {:semno.t, :cplt.t, :icno.t, :stdt.t}
order by adsls887._index1
selectdo
get_nama()
rprt_send()
endselect
}

function get.nama()
{
select tccom001.nama
from tccom001
where tccom001.emno inrange :semno.f and :semno.t
selectdo
selectempty
tccom001.nama = ""
endselect
}

mark_h
2nd October 2014, 00:09
ONe has . and one has _. Make one or the other match. Either get.nama or get_nama.

mark_h
2nd October 2014, 00:10
Moved it to the tools forum. This is where questions like this are typically posted.

tdaly62
2nd October 2014, 16:18
Thanks Mark... I noticed that right after I had posted the question, but couldn't find where to delete the post.

mark_h
2nd October 2014, 16:25
No problem - we have all been there and done that somewhere along the way. Plus it never hurts leave a post with a solution. Might help someone in the future.

bhushanchanda
2nd October 2014, 16:27
Hi,

No need to delete a post. As they say, "No question is stupid!" It clarifies the reason for such error.

Thanks for not deleting :) Anyhow, moderators would have kept that.