Trigger not functioning
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Trigger not functioning

 
Post new topic   Reply to topic    CADForums.net Forum Index -> MicroStation
Author Message
nash
Guest





Posted: Mon May 03, 2004 1:16 pm    Post subject: Trigger not functioning Reply with quote

Hi all,

I use an MDL application to update some work measurements in the
design file.
The values are gettting updated perfectly, but the triggers which are
supposed to get fired on this update is not getting fired.

Has anyone come across this situation? Can anyone help me arrive at a
solution?

Best Regards,
nash

Back to top
nash
Guest





Posted: Wed May 05, 2004 8:09 am    Post subject: Re: Trigger not functioning Reply with quote

fire_mail@rediffmail.com (nash) wrote in message news:<984e1fa2.0405030116.55e570cc@posting.google.com>...
Hi all,

Let me rephrase my posting:

I use an MDL application to update some values in the database.The
values are gettting updated perfectly, but the triggers which are
supposed to get fired on this update are failing.

Has anyone come across this situation? Can anyone help me arrive at a
solution?

Best Regards,
nash



Quote:
Hi all,

I use an MDL application to update some work measurements in the
design file.
The values are gettting updated perfectly, but the triggers which are
supposed to get fired on this update is not getting fired.

Has anyone come across this situation? Can anyone help me arrive at a
solution?

Best Regards,
nash
Back to top
sworna vidhya
Guest





Posted: Thu May 06, 2004 5:48 am    Post subject: Re: Trigger not functioning Reply with quote

fire_mail@rediffmail.com (nash) wrote in message news:<984e1fa2.0405042009.7a40789d@posting.google.com>...
Quote:
fire_mail@rediffmail.com (nash) wrote in message news:<984e1fa2.0405030116.55e570cc@posting.google.com>...
Hi all,

Let me rephrase my posting:

I use an MDL application to update some values in the database.The
values are gettting updated perfectly, but the triggers which are
supposed to get fired on this update are failing.

Has anyone come across this situation? Can anyone help me arrive at a
solution?

Best Regards,
nash

Hai Nash,

Here We are using some updations with database values. May this
following snip helps you.

sprintf(temStr, "select VIDHYA from %s where COLVALUE =
%s",tabName,columvalue);
queryFieldStatus = mdlDB_sqlQuery(tabName, temStr);
if (queryFieldStatus == SUCCESS)
{
printf(updStr, "Update TABLENAME set FIELDTOUPDATE = '%s' where
LINKCOLUMN = %d",tableName, "fieldupdatingvalue", linkcolValue);
if (mdlDB_processSQL(gSql) == SUCCESS)
{
sprintf(gUpdateFlow,"succeeded");
}
else
{
sprintf(gUpdateFlow,"failed");
}
}

Regards,
M.Sworna Vidhya

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> MicroStation All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB