Also, can you change INDEXSEEK to SEEK ? Just to see if there is any difference.
>Naomi,
>
>That didn't work either. Here is my Init code now (I decided that I really didn't need the ASSERT command):
>
>
>PARAMETERS nProjectID
>LOCAL nGrpCount, llResult
>
>llResult = INDEXSEEK(nProjectID, .T., 'Projects', 'ProjectID')
>IF NOT llResult
> MESSAGEBOX('Project not found in Projects table')
> RETURN .F.
>ENDIF
>
>
>Jim
If it's not broken, fix it until it is.
My Blog