spartacus
9th April 2003, 15:55
What is DALUPDATE(qmptc120,true)
--> in capital letters!

standing for? Does ist make an update to qmptc120 table?

Where is it defined ?

Spartacus

OmeLuuk
9th April 2003, 15:58
Where is it defined?in bic_dal and here (http://www.baanboard.com/programmers_manual_baanerp_help_functions_db_operations_dal_update), i suppose...?

spartacus
9th April 2003, 16:03
So it is a short for dal.update() ?


Spartacus

lbencic
9th April 2003, 17:18
Usually the use of CAPITALS means that they have a #define for it somewhere, and it probably just maps to call the dal.update command, and defaults the rest of the parameters. Would need to find it to be sure. It may be in your main script, but may also be in an include, including an addition to tools somewhere..

spartacus
9th April 2003, 17:48
Hi lbencic,

thanks. I'm pretty sure, that it is a u described. Nevertheless I tried a Unix grep over all our sources. But I can't find the right "define" (OK we don't own all sources).
So I take it as it is, and say DALUPDATE() stands for dal.update(). Should be enough for me, because I just tried to find out where the update of a certain table field occurs.

(Costs me a day, to follow all this DAL and DLL cals :mad: in that case)


Spartacus

OmeLuuk
9th April 2003, 17:48
Please tell us where you found this, in what script?

spartacus
9th April 2003, 17:59
Strange, the leave the DAL qmptc120 to go to "qmptc.dll0010.update.inspection.results(...)". There they execute the "DALUPDATE(qmptc120,true)" I asked for.

Spartacus

OmeLuuk
10th April 2003, 13:39
Found it!
DAL qmptc120 "Inspections by Origin":#include "itcmcs2000" |* DAL Support DefinesFunction tcmcs2000 "General DAL(-GUI) support defines (macro's)":|* DALNEW(CLS,...), DALDESTROY(CLS,...), DALUPDATE(CLS,...)
|* FUNC value is derived from CLASS
|* early returns when DALHOOKERROR
#define DALUPDATE(CLS,...)
^ dal.update("##CLS##", t##CLS##, tcmcs2000.dal.error, ...)
^ if tcmcs2000.dal.error then
^ return(tcmcs2000.dal.error)
^ endif

spartacus
10th April 2003, 14:32
Hi Ome,

thanks a lot. I completely forgot to grep in functions :D

Spartacus