Field question
Charles Szasz
cszasz at mac.com
Thu Jul 19 13:49:49 EDT 2007
Stephen,
Thanks for your suggestions!
Stephen Barncard wrote:
>
>>When I check the contents of tData, only the last field, field "l" was in
>>tData
>
> right now you are just replacing the last contents with the next.
> into = replace what was there
> after = put after
> before = put before
>
>>
>>How do I correct this?
>
> depends on what you want to do...
> If you are appending the data to the var
>
> local tData
> put empty into tData
> put field "a" & return after tData
> put field "b" & return after tData
> put field "c" & return after tData
> put field "d" & return after tData
>
> you could compact each field into a single line
> for decoding later.
>
> local tData
> put empty into tData
> put URLEncode(field "a") & return after tData
> put URLEncode(field "b") & return after tData
> put URLEncode(field "c") & return after tData
> put URLEncode(field "d") & return after tData
>
>
> If you want each field available in an array do this
>
> local tDataA
>
> put field "a" into tDataA [a]
> put field "b" into tDataA [b]
> put field "c" into tDataA [c]
> put field "d" into tDataA [d]
> put field "e" into tDataA [e]
>
> sqb
>
>
>
>>I have tried putting fields into a temporary variable:
>>
>>put field "a" into tData
>>put field "b" into tData
>>put field "c" into tData
>>put field "d" into tData
>>put field "e" into tData
>>put field "f" into tData
>>put field "g" into tData
>>put field "h" into tData
>>put field "i" into tData
>>put field "j" into tData
>>put field "k" into tData
>>put field "l" into tData
>>
>>When I check the contents of tData, only the last field, field "l" was in
>>tData
>>
>>How do I correct this?
>>--
>
> --
>
>
> stephen barncard
> s a n f r a n c i s c o
> - - - - - - - - - - - -
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
--
View this message in context: http://www.nabble.com/Field-question-tf4112519.html#a11694419
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list