Hey ! At the moment I am creating a eBook, which should contain links to iTunes. Does anyone know, if it is necesary to join the affiliate program for this ?? Cause I don`t want to ;-)

Hey ! At the moment I am creating a eBook, which should contain links to iTunes.
Does anyone know, if it is necessary to join the affiliate program for this ?? Cause I don`t want to ;-)

Hi Bruce,
I'm getting closer. I actually tried a variety of  expressions, such as "== null" and yours, but the problem persists.
I am settling on the following, but there is a hangup related to the field that is being looked at for the condition that I will explain in a minute. Here's the script:
if 
(ViolationsTable.ViolCorrSection.ViolationsText.DebitVal.isNull || ViolationsTable.ViolCorrSection.ViolationsText.DebitVal.rawValue.length == 0)
ViolationsTable.ViolCorrSection.instanceManager.removeInstance(parent.parent.index);
else
app.alert ("Warning Statement);
ViolationsTable.ViolCorrSection.instanceManager.removeInstance(parent.parent.index);
What happens is that, no matter which row in my table I'm in when I click the remove instance button, the script is always looking to the DebitVal field in the first row of the table. So, if the first row is empty, the message box won't appear for the removal of any row in my table. If the first row has a value in DebitVal, then the deletion of any row in the table will trigger the message box.
I need a way to specify the script to look at the DebitVal field in the row that I am clicking in, without messing up the remove instance command.
Ideas?
Dave

Similar Messages

Maybe you are looking for