I have an ini file of just one section's eg [Filter] entries.
I am going to display them in an Edit box on a form.
I would like the 'True' and 'False' to be separately together and listed before the string values for easier reading by the user.
thus far I have this code
<code>
myfile = 'filtertemp.txt'
lcINI = Filetostr(myfile)
create cursor myIni (myLine c(254))
append from filtertemp.txt type sdf
create cursor myNewIni (myLine c(254))
append from myIni FOR 'True'$myLine
append from myIni FOR 'False'$myLine
append from myIni FOR !'False'$myLine OR !'True'$myLine
browse
</code>
These appends don't work.
Can anyone point me to the correct syntax please.
Thanks.
Coldan
I am going to display them in an Edit box on a form.
I would like the 'True' and 'False' to be separately together and listed before the string values for easier reading by the user.
thus far I have this code
<code>
myfile = 'filtertemp.txt'
lcINI = Filetostr(myfile)
create cursor myIni (myLine c(254))
append from filtertemp.txt type sdf
create cursor myNewIni (myLine c(254))
append from myIni FOR 'True'$myLine
append from myIni FOR 'False'$myLine
append from myIni FOR !'False'$myLine OR !'True'$myLine
browse
</code>
These appends don't work.
Can anyone point me to the correct syntax please.
Thanks.
Coldan