Hallo,
I'm glad you're reading this. I wasn't sure if anyone would with such an obscure subject.
I had a problem with Access '97 not shutting down after running one of my applications. I narrowed it down to a single line of code relating to the value of a frame control on a subform.
The frame control fraFilterOn contains two buttons, On and Off. On has the value -1 and off is 0. I then treat the
frame control as a boolean. Quite reasonable, I'm sure you'll agree. Here's the line of code I use:
If Forms!frmMain!frmRecordFilter.Form!fraFilterOn Then
Now when this line is included, it works fine, but when I close Access, it just minimises and wont go away unless I end it's task.
If I replace the line with:
If Forms!frmMain!frmRecordFilter.Form!fraFilterOn <> 0 Then
then it works fine and shuts down properly.
Has anyone else found this a problem?
Are there any other reasons why Access doesn't close down?
Have I got completely the wrong end of the stick?
Please respond.
- Frink
P.S. Is 'Programmer' better than 'TechnicalUser'?
I'm glad you're reading this. I wasn't sure if anyone would with such an obscure subject.
I had a problem with Access '97 not shutting down after running one of my applications. I narrowed it down to a single line of code relating to the value of a frame control on a subform.
The frame control fraFilterOn contains two buttons, On and Off. On has the value -1 and off is 0. I then treat the
frame control as a boolean. Quite reasonable, I'm sure you'll agree. Here's the line of code I use:
If Forms!frmMain!frmRecordFilter.Form!fraFilterOn Then
Now when this line is included, it works fine, but when I close Access, it just minimises and wont go away unless I end it's task.
If I replace the line with:
If Forms!frmMain!frmRecordFilter.Form!fraFilterOn <> 0 Then
then it works fine and shuts down properly.
Has anyone else found this a problem?
Are there any other reasons why Access doesn't close down?
Have I got completely the wrong end of the stick?
Please respond.
- Frink
P.S. Is 'Programmer' better than 'TechnicalUser'?