I should read the VFP help carefully before asking for your Help :-)
I red that the column 13 through 15 of the afield array store information about trigger. Now I've cleaned the Array columns from 7 to 15 and it works.
But now I have another question :
Is there a way to avoid a loop to clean those columns ? In other words,
now I clean those columns doing this :
for i = 1 to alen(arrayname,1)
for j = 7 to 15
arrayname(i,j) = ''
endfor
endfor
is This the best way to do this job ?
Thank you
>I'm trying to work with triggers, I call a procedure when insert, update or delete records. It seems to work fine but.... if I create a cursor as an image of a triggered table the trigger starts working even on this cursor and that is not what i want to :-).
>I create the trigger with create cursor "cursorname" from array "arrayname" where the array is generated by the Afield fuction.
>
>Thank you
>Alessio
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement