search for: pmttrans

Displaying 1 result from an estimated 1 matches for "pmttrans".

Did you mean: nttrans
2006 Nov 29
6
How do I create an array to represent an empty record?
...a, then copying the array values into a new record. A single command can copytoarray or copyfromarray a record. I tried modelling this on the Cart example in Agile Web Development with Rails (which stores virtual lineitem records in the shopping cart). I was able to put a single empty record into @pmttrans, but couldn''t figure out how to address a field in that record in order to read or write a specific data value. The Cart example creates an @items array within @cart. Since I don''t need multiple items, how can I just create a simple hash of column names and values for the single r...