G
Guest
I must apologize if this is not the right forum for this question. I am not
sure the problem isn't a field type mismatch, but here goes...
I have a form to collect data for a student report card. It collects data
from database tables by way of form fields as well as user-typed text in
unbound fields (including one for comments).
Once all the data is collected, the user is promted to save it to a database
table before printing. This is accomplished by a macro running an append
query on the click of a command button.
The problem is with a comment field. As long as the comments are kept within
a few words, the save operation completes successfully. However, if the field
size exceeds about 120 characters (or there abouts...) the save operation
hangs the whole application. There is no error message comes up, but if you
try and close the form or the database when nothing seems to be happening, it
fails because somewhere there is still code running, but the error that then
does come up doesn's say where or what the code is, nor can I see anything
wrong if I open the VBA code window.
With prolific English teachers <G>, I would like the comment field not to be
limited, or at least to be able to capture the error when it fails to save
and report it to users!
I have tried making the comment field in the table a text field with a field
size of 255 characters (the max, yes?) as well as a memo field. Both choices
result in the same failure, thus, my thinking it might be an issue with the
query that appends the table data with the new form data.
I hope this makes sense!
sure the problem isn't a field type mismatch, but here goes...
I have a form to collect data for a student report card. It collects data
from database tables by way of form fields as well as user-typed text in
unbound fields (including one for comments).
Once all the data is collected, the user is promted to save it to a database
table before printing. This is accomplished by a macro running an append
query on the click of a command button.
The problem is with a comment field. As long as the comments are kept within
a few words, the save operation completes successfully. However, if the field
size exceeds about 120 characters (or there abouts...) the save operation
hangs the whole application. There is no error message comes up, but if you
try and close the form or the database when nothing seems to be happening, it
fails because somewhere there is still code running, but the error that then
does come up doesn's say where or what the code is, nor can I see anything
wrong if I open the VBA code window.
With prolific English teachers <G>, I would like the comment field not to be
limited, or at least to be able to capture the error when it fails to save
and report it to users!
I have tried making the comment field in the table a text field with a field
size of 255 characters (the max, yes?) as well as a memo field. Both choices
result in the same failure, thus, my thinking it might be an issue with the
query that appends the table data with the new form data.
I hope this makes sense!