Insert:
update cli_event_cal set starttime='@starttime',
modified_d='@modified_d',
date='@starttime',
endtime='@endtime',
time_ampm='@starttime'
where pk = '@pk'
Update:
update cli_event_cal set starttime='@starttime',
modified_d='@modified_d',
date='@starttime',
endtime='@endtime',
time_ampm='@starttime'
where pk = '@pk'
These two above work, but I get the actual date from datetime in my Time_ampm field. I have tried
Time_AmPm={RIGHT('@starttime',8)} but that is when it puts the literal: tarttime into my time_ampm field.