PatMcLaughlin
Programmer
I am attempting to get data from a text file where I receive data to populate a crystal report. It comes to me in a form like this:
Name : John Doe
Address : 123 Here
Phone : 123-456-7890
(80 more follow)
If for instance the 'Phone' has no data, it will not appear in the text file.
I have created a cursor with all of the possible variables, defined all possible variables (i.e. LOCAL lcName, lcAddress, lcPhone) and I have a routine that will read the text file line by line. Using the colon
) I have parsed out the information to capture "Name" and "John Doe". I cannot find a way to make lcName = "John Doe"
Name : John Doe
Address : 123 Here
Phone : 123-456-7890
(80 more follow)
If for instance the 'Phone' has no data, it will not appear in the text file.
I have created a cursor with all of the possible variables, defined all possible variables (i.e. LOCAL lcName, lcAddress, lcPhone) and I have a routine that will read the text file line by line. Using the colon