Hi all,
I'm sorry if I'm hogging this list.
I think I'm missing something fundamental here and would appreciate your help.
Basically I have a raft of data stored in a blob field. To get this to a Active4D web page I call an existing routine that loads the data into a set of global (4D global that is) arrays.
I then reference a value of the array in the html page as follows: <% aBookingNumber{1} %>. In fact the HTML element containing this is a Form Input field (named something like f_BookingNumber).
On accepting the record I call my Form Handler and this is where I can't see how I write this information back to the record. Basically I want to write the contents of f_BookingNumber back into a global array and then call the existing routine to write the arrays back into the blob field.
So I tried this : aBookingNumber{1} := num($f_BookingNumber)However rightly so Active4D complains that it doesn't know what aBookingNumber is. I'm assuming this is because Active4D requires all variables to local variable ($aBookingNumber).
However if I use local arrays I then can't call my 4D method to write them back.
What am I missing here. Do I have to use session variables? If this is the case I'm going to have rather a lot of these.
Any advice?
Thanks, Michael.
Active4D MC1, Mac OS X 10.2.6, 4D 6.8.4
