Hello everyone,
I have a client that no longer wants to store dates in his app. Instead, he wants to store the number of days from a reference date. I thought I would set a new field to store the number of days and set it as a lookup. The lookup would call a procedure/memory form that allows the user to enter two dates and calculates the days between them. This new calculated value should drop into the lookup field. I use local variables on the memory form to store the dates and do the calculation.
I have the memory form called and it calculates the interval between the two dates. However, upon returning to the lookup field, the interval value is not dropped into the lookup field. I realize the lookup feature is meant to do a look up into a table but I thought I might be able to get it to do this by setting the lookup field in an embed, just before returning to the lookup field, but so far not able to do this. Any thoughts on how to make this work or an alternate way to do this? I prefer the lookup method over adding a button after each field and calling the memory form that way. That would be too many buttons to add as I have about 30 date fields to convert.
Thanks,
Jeff King