blueboy2001
Registered User.
- Local time
- Today, 22:23
- Joined
- Apr 22, 2002
- Messages
- 26
I have a subform displayed on a main form that shows the output from a query. The grid should show the pieces of equipment assigned to a job.
When I create a new job and add a piece of equipment, it doesn't appear in the grid unless I close the form and open it again. If I add another piece of equipment to an existing job it works fine.
If I run the query that holds the data for the grid, the query window shows the equipment that is assigned to that job as it should do, so the data is right but the grid remains blank.
The command button on the form to add the equipment runs an append query to put the data into the table (which it must be doing correctly, because opening the query from the same macro displays the correct data), then it requerys the grid, but still nothing is displayed.
Have I missed something obvious?
When I create a new job and add a piece of equipment, it doesn't appear in the grid unless I close the form and open it again. If I add another piece of equipment to an existing job it works fine.
If I run the query that holds the data for the grid, the query window shows the equipment that is assigned to that job as it should do, so the data is right but the grid remains blank.
The command button on the form to add the equipment runs an append query to put the data into the table (which it must be doing correctly, because opening the query from the same macro displays the correct data), then it requerys the grid, but still nothing is displayed.
Have I missed something obvious?