| Chat with a LIVE Microsoft
Access Expert! |
||||
|
||||
|
#1
|
|||
|
|||
|
Requerying data ina subform
Hi Folks
I have a query based on a table which gives a breakdown of sales by month, sale type and by cost centre (department). I also have another query which summarises the sales by sale type and cost centre so that and is based on the first query. the second query is a subform of the first. I tried the second query as an update query but couldn't figure out how to execute it in order to refresh the subform. I've also tried to requery the second query having recreated it as a select query but I'm not able to refresh the data. The aim is to refresh the data in the subform as any of the underlying data is changed in the original form. I'm ok with VBA and with macros so if anyone has any advise or ideas I'd appreciate it. Many thanks Andy |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Forms![Main Form]![Sub form name].Form.Requery
__________________
If my post has helped you solve your problems please add to my reputation. Click the scale in the top right side of this post. |
|
#3
|
|||
|
|||
|
Doh!!
Many thanks Keith |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Subform data correct, but not visible | Alc | Modules & VBA | 16 | 05-16-2007 12:33 PM |
| Subform data won't display | skwilliams | Forms | 2 | 11-30-2004 08:10 PM |
| Refreshing data of a subform | latex88 | Forms | 5 | 07-16-2003 09:53 AM |
| Problems pulling data from subform via vb... | alex_aqui | Modules & VBA | 1 | 11-07-2002 04:09 PM |
| linked subform data does not change when master is changed | jnmunsey | Forms | 1 | 08-14-2002 12:21 PM |