Have you tried to identify the line of code where this is happening? What would you be doing with an API that might cause problems?
The help file says - "The parameters passed to an API caused an exception in the API. Make sure that you pass all the necessary parameters to the API and that the parameters are of the proper type."
Maybe 7 is giving you a different return value and you are using it for a parameter? Just a WAG.
>There seem to be a small variety of errors that can happen:
>
>1) When the error gets into our error routine and writes to the error log table, we see the following message:"Error 2028: API caused an exception"
>2) Sometimes the operators see the application die doing the same save routine but the errors don't get written to the error log. The Fox app dies before the error routine can write the error to the table.
>3) The following error has also been seen: "Program Error 2028 - Program frmdatacol.macheset - code - 1478fmw"
>4) There have been other errors, but I can't find the exact verbage at this time.
>
>Does this help?? Let me know!
>
>>What exact error are you getting? This error does not appear to be a VFP error.
>>
>>
>>
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown