Working on code that has been working for months without any
problems. Now the RowSet isn't being set. I've checked the latest
update docs, but it doesn't seem this code has been modified.
In a nutshell here is what happens. We have three Session Arrays that
track information for us in a Shopping Cart. We get the session array
modify the values and reset it back to the session array. I realize
there is problem a better way to do this, but at the time it seemed
to be the quickest. Anyway looking at the session values the arrays
are being set properly, but when the Rowset is created it is always
empty. Can anyone seem anything out of place I may have done that I
just can't see at the moment? I'm just showing the ID Array, but all
three are being updated correctly.
get session array("cart.ids";$ID_Array)
append to array($ID_Array; $attributes{"vid"})
set session array("cart.ids";$ID_Array)
$map := """
ID: session{"cart.IDs"};
qty: session{"cart.qtys"};
description: session{"cart.description"}"""
$qry_ShopCart := RowSet.newFromArrays($map)
Christian Cypert
Tailored Solutions, Inc.
Job Management Software for the Printing Industry
Milwaukee, WI 414-774-9997
http://www.tailored.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/