Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Choosing Date on Calendar Web Control
#1
Greetings,

While choosing date on a web control calendar, the QM program chooses the first date found on the calendar.
That is if the calendar is showing December 2016 dates, there would be November 2016 last week dates also showing up.
If the program has to choose today's date (29 December 2016), it chooses the first '29' on the calendar, which is 29 November 2016.
How to make the program understand to choose 29th December 2016 instead.

Right now the program first chooses the date from Excel and obtains just the day as below:

Macro RO Sales VISTA - Current
Code:
Copy      Help
,ARRAY(str) varDate
,es.CellsToArray(varDate "sel")
,str vDate=varDate
,str e5.left(vDate 2)


...and then chooses the date on the web control calendar as shown below:

Macro RO Sales VISTA - Current
Code:
Copy      Help
,Htm e47=htm("BUTTON" e5 "" w3 "0" 85 0x21 50)
,e47.Click;0.15

Best Regards,
Philip
Best Regards,
Philip


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)