I've been searching around the internet for an answer to this question for a few hours and I'm not able to find anything. My experience with FoxPro is quite limited. This will probably be 2 questions in one.
First question: I have a list of items and some of these items may contain a comma which is not allowed in the program I'm transferring the data to.
I basically need sort of a statement like this:
REPLACE ALL Field1 with STRTRAN(field1, "," , "<break time='250ms' />"
Is something like that going to accomplish what I need?
Second Question: I have 5 separate fields that I need the data from to be moved into a new field. Something like this.
Field1: October Field2: 21 Field3: 2013 Field4: 5:00 Field5: PM
FinalField Thank you for your email, your appointment is scheduled for [Field1] [Field2] [Field3] at [Field4] [Field5].
This will be for thousands of records, so I'd like to formulate a statement that would replace them all at once.
REPLACE ALL FinalField with STRTRAN(
After that I'm not sure what format it needs to be within the parenthesis to properly replace the field with what I need. Thank you for your help in advance.