Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with Trigger
Message
De
08/09/2004 10:28:18
 
 
À
08/09/2004 10:12:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00940269
Message ID:
00940273
Vues:
17
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
Fil
Voir

Click here to load this message in the networking platform