Submitted by LeftEccoForIQ on 2023/12/26 15:58

Have been getting this popup error notification since one of the more recent updates (currently on 1.123.0). This did not pop up before.

Error message text

Here is the formula I'm using:

replace(Right("0" & Day([A_ApptString]), 2) & "/" & Right("0" & Month([A_ApptString]), 2) & ", " & Right("0" & Hour([A_ApptString]), 2) & ":" & Right("0" & Minute([A_ApptString]), 2),", 00:00","")

Any help much appreciated. Thanks!

Comments

I'm using the field called A_ActAppt in a column of my action grid to display an item's appointment date and time in a compact readable form. It takes the appointment data and puts it in the format 'dd/MM, hh:mm'. To be able to work with the appointment data in this way, I created the dependent A_ApptString field to convert that data to string format by setting it to ="[A_Appointments]".

Probably very hacky, but it still seems to work okay so no idea why I've started getting the error and what's causing it.

I see. You know that you can set the date displayed format? (in field properties). Still, using a VBScript is definitely simpler and you can test it in the VBScript code window

Bug reports