Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VERY Green to QM
#18
Gintaras Wrote:Maybe the window that win finds is not the window that normally is active. MS Office apps sometimes have this problem.

Activate Access manually and run this macro using hotkey. It displays 2 numbers in QM output pane. Are they equal?
Macro Macro1301
Code:
Copy      Help
int w2 = win("2009 Q1 Data")
out w2

int activeWindow=win
out activeWindow

Gintaras,
Thank you for the reply...

No they are not

6685976
2163448

But when I change the code to
Code:
Copy      Help
int w2 = win("2009 Q4 Data" "")
out w2

act win("2009 Q4 Data" "")
int activeWindow=win
out activeWindow

They are

6685976
6685976


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)