>I tried what you suggested and I can certainly see how it can work. However, request.form returns and awful ugly piece of string with numerous characters encoded into it. I could see this getting very long and hard to code and manage. I may even be way of track in what I am trying to do. I thought I would receive the Request Object in the Ofaxserver.Save method. If the hidden input field FaxKey was empty I would consider it an add else It would be a edit. I would then get the record as an object using scatter name or scatter name blank. I would then update the record object based on what was in the Request object through what I had hoped was a small for next loop something to the effect of :
>
>For x = 1 to ItemsInRequest
>lcItemName = Request.Form.Item(x) ???
>lcItemValue = ???
>
>loRecord.lcItemname = lcItemValue
>next
>
>Send loRecord to the actual table.
I do not know if VFP's "For Each" can iterate through the request collection but if it can you should be able to use:
*Using Form post
FOR EACH x IN Request.Form
lcItemName = x
lcItemValue = Request.form(x)
.....
next
*Using Form Get
FOR EACH x IN Request.QueryString
lcItemName = x
lcItemValue = request.QueryString(x)
.....
next
Michael McLain