This is a doublespace program I was creating and I have run into a lot of issues. I am new to the FoxPro language so explenations are great.
Set Talk Off
Store Fcount() To f
Dimension Afldcnt[f]
For i = 1 To f
If (Type('Field(i)') = 'C') == .T.
Store Field(i) To Afldcnt
Else
= Adel(Afldcnt, i)
Endif
Next i
Store Alen(Afldcnt) To a
For x = 1 To a
For recum = 1 To Reccount()
Store Afldcnt[x] To fld2chk
Do While ' '$Allt(&fld2chk)
Repl &fld2chk With Strt(Allt(&fld2chk), ' ', ' ')
Enddo
Next recum
Next x
Set Talk On
Data Processing Services
Advanced Marketing Direct
Set Talk Off
Store Fcount() To f
Dimension Afldcnt[f]
For i = 1 To f
If (Type('Field(i)') = 'C') == .T.
Store Field(i) To Afldcnt
Else
= Adel(Afldcnt, i)
Endif
Next i
Store Alen(Afldcnt) To a
For x = 1 To a
For recum = 1 To Reccount()
Store Afldcnt[x] To fld2chk
Do While ' '$Allt(&fld2chk)
Repl &fld2chk With Strt(Allt(&fld2chk), ' ', ' ')
Enddo
Next recum
Next x
Set Talk On
Data Processing Services
Advanced Marketing Direct