>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
Remove MessageBox() and see what happens?
Put DODEFAULT(...) if you have one AFTER the check.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.