Anonymous
|
well, I'm a bit out of depth in this question. I do not think C API has any way to get "current database" as "current" is an UI idea. Either it gets something during the call as when you implement the code as a menu add-in or EM callback, or you should have to invent some other way to do that. I'm not sure what happens when you implement @DBCommand (you surely did not mean @Dbcolumn). I think it allows to pass some parameters, hence also dbreplicaid, so you should be fine. I think this is documented in the C API Users Guide. If you prefer a second hand info here is an entry in Ben's blog where he tells this story: http://www.geniisoft.com/showcase.nsf/archive/20050112-1101 Or is there some other catch? best of luck Normunds
|