FOR i= 1 to ThisForm.List1.ListCount if thisform.List1.Selected(i) local array aTemp(1) a = ALLTRIM(thisform.list1.List(i)) tbl = ALLTRIM(.sour+(a)) use (tbl) AFIELDS(aTemp,tbl) RELEASE aTemp endif endforI am getting "alias is not found" when using "AFIELDS(aTemp,tbl)". I do have my database opened.
"PAYROLL_TBL.DBF"
the variable tbl contains"C:\PROGRAMMING\PROGRAMS\VFP8\PAYROLL\PAYROLL_TBL.DBF"
I issued a alias() command and it shows"PAYROLL_TBL.DBF"
I issued a dbc() command and it shows my database in use"C:\PROGRAMMING\PROGRAMS\VFP8\PAYROLL\PAYROLL.DBC"
What am I doing wrong here?