This has been most obnoxious for me over the last day or so, and I'd appreciate any help people can give me.
I have a database used to record the results of monitoring the Department of Health does of providers. Providers are monitored annually, so every record is identified by a provider name and monitoring date (and item ID but that's beyond the scope here).
The users are data entering in a form, and the first thing they do is enter the provider name and monitoring date into combo boxes on the form, then click a command button that runs a query to put the provider name and monitoring date together with the items and insert them into the working table.
This has worked for a year or so in a system where I programmed on Access97 and the users were in 2002 (it's the government).
This year, updated everyone to 2002. Now the Provider Name works, but the Monitoring date returns a blank. So I made a dummy query with just those items, and the monitoring date still returns as blank. From that, I'm concluding that the issue is with the form.
I can't see any difference in the combo box properties.
I've over-simplified this a little. I ran my text query straight from the data entry, without any additional form code or functionality (the only thing it does it that on form open it sets some things visible and others not visible) so I don't think any of the other parts of the database are having any effect (plus they worked last year), but the whole thing is a bit much to paste the code.
Pulling my hair out on this one. Can anyone shed any light on it?
Andy
EDIT: Searching through the forums and didn't find anything close to an answer. I see a common issue is filtering a query or table using a combo box. What's I'm doing is different: I have an append query, and I want to take the combo box value and use it as a field in the append query. How to do that is not the issue - it works for other combo boxes in the same form and it worked all of last year. I'm thinking it might be something in 2002 that I'm not familiar with.
I have a database used to record the results of monitoring the Department of Health does of providers. Providers are monitored annually, so every record is identified by a provider name and monitoring date (and item ID but that's beyond the scope here).
The users are data entering in a form, and the first thing they do is enter the provider name and monitoring date into combo boxes on the form, then click a command button that runs a query to put the provider name and monitoring date together with the items and insert them into the working table.
This has worked for a year or so in a system where I programmed on Access97 and the users were in 2002 (it's the government).
This year, updated everyone to 2002. Now the Provider Name works, but the Monitoring date returns a blank. So I made a dummy query with just those items, and the monitoring date still returns as blank. From that, I'm concluding that the issue is with the form.
I can't see any difference in the combo box properties.
I've over-simplified this a little. I ran my text query straight from the data entry, without any additional form code or functionality (the only thing it does it that on form open it sets some things visible and others not visible) so I don't think any of the other parts of the database are having any effect (plus they worked last year), but the whole thing is a bit much to paste the code.
Pulling my hair out on this one. Can anyone shed any light on it?
Andy
EDIT: Searching through the forums and didn't find anything close to an answer. I see a common issue is filtering a query or table using a combo box. What's I'm doing is different: I have an append query, and I want to take the combo box value and use it as a field in the append query. How to do that is not the issue - it works for other combo boxes in the same form and it worked all of last year. I'm thinking it might be something in 2002 that I'm not familiar with.
Last edited: