ValidTimeState causing warnings when compiling

When compiling your code you might encounter the following warning: Parameters in the validtimestate clause must match the type that is specified in the ValidTimeStateFieldType property of table <table name>.

Some tables use the time state control, if they do there are two modes for this time state; date and datetime.

Continue reading