Guest_imported
New member
- Jan 1, 1970
- 0
Please help, I am tring to pass field names from a text box to a variable, and then replace a field on my output file with whatever the field entered in the text box is, but it is replaceing the output field with the field name.
ex. they enter F1 in text box txtName
lcName = alltrim(ThisForm.txtName.Value)
select input
Scan while !eof()
scatter memvar
select output
replace Output.Name with (lcName)
select input
Endscan
well, thats basically it, but that replaces Output.Name with "F1" instead of the contents of Input.F1.
Thanks in advance
-BIBON
-Mike
ex. they enter F1 in text box txtName
lcName = alltrim(ThisForm.txtName.Value)
select input
Scan while !eof()
scatter memvar
select output
replace Output.Name with (lcName)
select input
Endscan
well, thats basically it, but that replaces Output.Name with "F1" instead of the contents of Input.F1.
Thanks in advance
-BIBON
-Mike