G
Guest
Hello,
In a program I'm writing, the command Docmd.OpenForm takes 15-30 seconds for
some forms, while other forms (with approximately the same amount of
controls, labels, etc.) open in 2-3 seconds.
When debugging and running each line separately, It is obvious that the
OpenForm command is what's taking it so long, and not any other code line.
Moreover, the problematic forms are loaded with a stlinkcriteria, so that
they are required to retrieve only one record from an existing table in the
DB.
The DB is not very large (for example: one of the forms taking so long is
linked to a table containing 715 records)...
Does anybody know the things that may be influencing this the most?
Thanks
In a program I'm writing, the command Docmd.OpenForm takes 15-30 seconds for
some forms, while other forms (with approximately the same amount of
controls, labels, etc.) open in 2-3 seconds.
When debugging and running each line separately, It is obvious that the
OpenForm command is what's taking it so long, and not any other code line.
Moreover, the problematic forms are loaded with a stlinkcriteria, so that
they are required to retrieve only one record from an existing table in the
DB.
The DB is not very large (for example: one of the forms taking so long is
linked to a table containing 715 records)...
Does anybody know the things that may be influencing this the most?
Thanks