Derek,
In your example code, you are storing the NextSvcDate in a table Grid.
Currently I have added a DateTimePicker field to my frmEquip. Is there any way to have the calculated formula update the DateTimePicker field directly, without having to use a Table Grid?
.
FYI, I have an Equipment Table Grid on the form that proceeds the Equipment form. So the user will select a piece of equipment from that form and it will take it to this frmEquip that I have attached. As you can see, I have quite a few fields on my Equipment form.
.
I'm thinking it would not be efficient to create a table grid for just one field (NextSvcDate). I think you mentioned something like that previously.
.
I've attached a screen shot of my Equipment form so you can see what I'm referring to.
. I'm thinking that maybe one line of script to put the Calculated Date into the DateTimePicker field? Or am I asking too much?
.
Also, I'm thinking that this DateTimePicker field should be updated If and When I might change the Service from say Weekly to Monthly, without adding a new Service record.
.
And to add a little more complication, I'm eventually going to want to run/print a report showing the upcoming service items that will need to be addressed, say in the next week or month... I'm thinking I should be able to add the NextSvcDate DateTimePicker field to my table grid in the previous form so I can create reports. I hope all this makes sense and I'm not getting myself lost in the weeds LOL.
.
I noticed your "Ahoy" phrase. You're getting all nautical FYI: If you put Starboard and Port on your body, your Starboard side is your right hand. It's always your right hand no matter which way you're facing. So you can look at a boat (or an airplane) and always tell which way it is going. And more trivia - the Starboard (right) side always has a RED light and the Port (left side) always has a GREEN light. No extra charge for the nautical trivia
.
Thanks, Frank