hey guys,
i've been trying to figure this out for a while now and i cant seem to find the info i need despite countless attempts to seach the forums,
i'm using a date control to set the date my program generates data from, i have that bit working without any errors, i then have a second date control that automatically is set to 7 days after the first control using _DateAdd when the form loads.
This is because i normally want to work on a weeks worth of data at a time, i cant just remove the second control as sometimes we need data from a certain date range that could be larger or smaller than the normal 7 days
This second date control is normally not editable unless the user clicks a checkbox to use custom date ranges.
The problem i'm having is getting the second control to update after i change the date in the first control.
So far i've tried getting it work with both MessageLoop mode and OnEvent mode.
I can get the buttons, the checkboxes and the reports to generate fine using both, i cant however get the second date control to recognise that the first has changed.
I dont have the code with me atm, the dev machine is being used by some else.
Does anyone have any info on how i can get the program to notice a date control has been changed?
Or at the least an online resource that can show me what i'm doing wrong
Thanks in advance if you can help me out, this has been driving me nuts