D
David Gordon
I have a tabular form based on an outer join query (all
open sales with weekly payments. Initially, for a given
week the payments will be null).
I would like to prepopulate the payment date with the new
end of week date. If I use a IIF(payment date is null,end
of week date,payment date) in the query I can not edit the
date payment on the form. I tried to initialize the date
on the form load, but that did not work either. What can I
do to prepopulate the date field, but allow me to update
the field?
Additionally, I would like to validate the date to make
sure it is within the current date i.e. date >= datediff
("y",-6,end of week date) and date <= end of week date. I
have tried putting in events for change and after update,
but these events seem to check every row on the form. Any
suggestions on where I can put this validate code?
Thanks for the help,
David
open sales with weekly payments. Initially, for a given
week the payments will be null).
I would like to prepopulate the payment date with the new
end of week date. If I use a IIF(payment date is null,end
of week date,payment date) in the query I can not edit the
date payment on the form. I tried to initialize the date
on the form load, but that did not work either. What can I
do to prepopulate the date field, but allow me to update
the field?
Additionally, I would like to validate the date to make
sure it is within the current date i.e. date >= datediff
("y",-6,end of week date) and date <= end of week date. I
have tried putting in events for change and after update,
but these events seem to check every row on the form. Any
suggestions on where I can put this validate code?
Thanks for the help,
David