Question:
How can I retrieve a record according to a selected date?
Solution:
To do so, you must use the Historic’s FindTime() function.
Example of script, executed at a button’s OnRelease event:
Hist1.Open()
Hist1.GoTo(Hist1.FindTime(Date))
MessageBox(Hist1.field)
Hist1.Close()
Hist1.GoTo(Hist1.FindTime(Date))
MessageBox(Hist1.field)
Hist1.Close()