question

PeterRudloff-4775 avatar image
0 Votes"
PeterRudloff-4775 asked BobJohnson-6874 edited

Error 1190 when closing Visual Foxpro Form Designer

Message: The file ..\0000cah5000.tmp is too large.
This file has a size of 1.4 Gigabytes. It is legible and contains properties and methods of the form. After a couple of Kilobytes, 21 lines of correct source are repeated thousands of times to the final size. I encountered the error with 2 different forms. The error could be reproduced on a backup Computer with both forms.
No problem to change the .scx table and compile the form. Form functions as expected. Is there a known reason for this error? Never saw this error before this week in many years using VFP9 and I am posting the question since it occurs today with the second form. Both forms have a usual size.

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PeterRudloff-4775 avatar image
0 Votes"
PeterRudloff-4775 answered

The reason was in both forms an entry field with an indicated [User Procedure] but empty Valid method. The Form editor showed an empty page and the Method field in the table contained:
PROCEDURE Valid
ENDPROC

Surprisingly, the Objcode field in this record of the table contained some lines (binary and legible information as usual).
After resetting the Valid procedure in the form editor to 'default', Method and Objcode were cleared and the [User Procedure] was not indicated any more. No problem to save the form.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.