Re: Record Prefix Behavior #ria
Darren,
Not sure if I understand this correctly, so I’ll outline how Magic’s engine cycle basically works (and has since DOS)
In an Online task (not covering a Batch task here which is slightly different)
So the above is long winded but important. It’s late so I may have missed something (there is more detail but I don’t think it’s relevant here). If so, I’ll go find my diagram and attach it (later) 😊
Hope this clears up why your program is doing what its doing. Again, this logic has not changed since about Magic version 5.x.
Keith Canniff
From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of Darren
Hi Guys So I've migrated a UnipaaS 1.9 project to Magic XPA 3.3 What I've noticed is the record prefix behavior. In UniPaaS, I have virtual variables updated in the record prefix by a value in main source because task has a main source and only 1 record is being modified and form has no table, when I modified a value in the main source that used to update the virtual variable in the record prefix and submit the form and the virtual variable values are still retained. However, in Magic XPA , when I submit the form it seems like it goes to record prefix again and update those virtual variable with the modification I did in the main source.
Best Regards, Darren
|
|