FIND iteration behaviour

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
tkilshaw
Posts: 170
Joined: Thu Jan 19, 2006 11:33 pm
Location: Western Canada
Contact:

FIND iteration behaviour

Post by tkilshaw »

With three ProgressLabel instances in existence I thought that the following code would create one ProgressSatge for each ProgressLabel.

Instead it creates only one ProgressStage.

If Account.SalesProgress IS UNDEFINED Then
FIND ALL ProgressLabel
CREATE ProgressStage WITH ProgressStage.Account=Account,ProgressStage.Name=ProgressLabel.Name,ProgressStage.StageNumber=ProgressLabel.StageNumber,ProgressStage.Type=ProgressLabel.Type

Can you help?

thanks,

Terry
aware_support2
Posts: 595
Joined: Sun Apr 24, 2005 2:22 am
Contact:

Post by aware_support2 »

Terry,

Replace 'CREATE ProgressStage WITH'

with 'CREATE ProgressStage FOR EACH ProgressLabel WITH'
Aware IM Support Team
Post Reply