I have code with if's testing for a letter and assigning a number to a const variable that is created. Can access 97 accept EOF? also how do I focus on the first record in a particular table to then start the looping process?
i.e.
Const qf1, qf2, qf3 as integer = 0
do until EOF
if f1 = "a" then
qf1=qf1+1
else
if f1 = "b" then
qf2=qf2+2
else
if f1 = "c" then
qf3=qf3+3
else
exit do
endif
endif
endif
loop
and so forth
i.e.
Const qf1, qf2, qf3 as integer = 0
do until EOF
if f1 = "a" then
qf1=qf1+1
else
if f1 = "b" then
qf2=qf2+2
else
if f1 = "c" then
qf3=qf3+3
else
exit do
endif
endif
endif
loop
and so forth