David Higgs
Programmer
I have a Text File which contains a Single Alpha Numeric Word on Each Line. I'd like to place the contents of the text file into an EDITBOX so that the user can make a selection. The Text File will occasionally be edited.
I can retrieve the Data by using one of the following options (although I am open to other suggestions).
However I don't seem to be able get my head around how to populate the EDITBOX with the Data.
Any help would be most appreciated.
Regards,
David.
Recreational user of VFP.
I can retrieve the Data by using one of the following options (although I am open to other suggestions).
Code:
* Option 1
CREATE CURSOR Logmenu ;
( Log_Select varchar(15) )
LogSource = "Log_Selection.txt"
Append From (LogSource) type sdf
* Option 2
LOCAL LogSelect AS String
m.LogSelect = FILETOSTR("Log_Selection.txt")
However I don't seem to be able get my head around how to populate the EDITBOX with the Data.
Any help would be most appreciated.
Regards,
David.
Recreational user of VFP.