After hours of troubleshooting I finally resolved the previous question about the ampersand next to the variable name. My gateway merchant wants to have an ampersand added to the string to be properly formatted at their end. NO WHERE in the instructions was this noted and I found this out through trial and error, most error. The correct string should have been:
So, thanks for your help as you led me to the correct path.
Sent by Joe Goldsmith on 05/12/2006 11:29:39 AM:
Thanks for the rapid response. I very much appreciate you taking the time to help. I have read your response below and it is very clear except for the ampersand within the variable name starting at the second position such as, "&x_tran_key" Why is this needed? You further help is appreciated.
Sent by FoxWeb Support on 05/12/2006 07:37:28 AM:
In VB the ampersand is used to concatenate strings. The following is the equivalent FoxPro code:
Sent by Joe Goldsmith on 05/11/2006 08:39:49 PM:
I have the following ASP string that I need to convert to a delimited string.
vPostData = "x_login=" & x_login & "&x_tran_key=" & x_tran_key & "&x_version=" & x_version &......
This is not a delimited string I am used to where similar values are in columns. In the example above the variable and the value both are in the same row. "x_login=" is that var and x_login is the value holder.
Since I know little about ASP, can someone show me how to convert the above to a delimited string where the value comes from a Fox variable please? Much appreciated.