on 05-26-2006 12:12 PM
Hi eb!!
In my BEx, when click in the refresh query in a cell that isn't a query's cell, ask to me about to refresh every queries in the workbook, and i answer yes (of course, what was you thinking?). After that i select the values for the filters and go (exec. the query F8) and the problem is that the filters are just applied to the SAPBEXq0001 and the other one remains not filtered.
The two queries in the workbook are the same one (i know that it's illogical but .... it's not your business, told to me).
Any idea to make the filters acts for the two queries?
Excuse my poor english and thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have cheked this box but it doesn't works, that's the reason because i have posted a this question.
Now i`m using a trick: i have a botton, in the presantation sheet, thar launch the next code (in a module)
Set r = Range("SAPBEXqueries!SAPBEXq0001")
Run "sapbex.xla!SAPBEXrefresh", False, r
Set r = Range("SAPBEXqueries!SAPBEXq0002")
Run "sapbex.xla!SAPBEXrefresh", False, r
But they don't want to have this botton in the presentation sheet of the workbook
Sorry, you are wrong, i have the VB code for this botton. Look that:
'module
Sub accion()
Set r = Range("SAPBEXqueries!SAPBEXq0001")
Run "sapbex.xla!SAPBEXrefresh", False, r
Set r = Range("SAPBEXqueries!SAPBEXq0002")
Run "sapbex.xla!SAPBEXrefresh", False, r
End Sub
'button
Private Sub CommandButton1_Click()
Call accion
End Sub
This is my VB code, and this works, but the problem is that "the client" don´t want to have an extra botton on the sheet and want to the BEx refresh query add oc botton works refreshing both queries.
It's seem that's something wrong whit the BEx, (not my code) but i don't know what can it be.
Thank you.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.