G
Guest
The following 2 debug prints are
examples of code that used to work when I was using ADO
Now, only the top one works - since I've switched to DAO
I'm thinking that there's some sort of escape code that is inadvertently
being read - even though I have the string contained between single quotes.
'=========Works=======
UPDATE [tbl_AIC_LOC] SET [FormatOverride] = 's
%AIData=$p(%AIData,"^",1,2),%AIData=$$USIIn^ASSIFM1(%AIData) 2' WHERE
([CustomizationRec] = '894505') AND ([Environment] = 'REGNHIM') AND
([AICIndx] = 1) AND (ActualDateTime = #2005-12-08#)
'======Does Not work
UPDATE [tbl_AIC_LOC] SET [FormatOverride] = 's
%AIDataI(587)=$$ApptDt^AYKPHSCH($p(%AIM("SCH","SCH"),"|",5))' WHERE
([CustomizationRec] = '894505') AND ([Environment] = 'REGNHIM') AND
([AICIndx] = 1) AND (ActualDateTime = #2005-12-08#)
I can provide the rest of the code, if necessary but I'm hoping these DEBUG
examples can shed some light on my hunch.
examples of code that used to work when I was using ADO
Now, only the top one works - since I've switched to DAO
I'm thinking that there's some sort of escape code that is inadvertently
being read - even though I have the string contained between single quotes.
'=========Works=======
UPDATE [tbl_AIC_LOC] SET [FormatOverride] = 's
%AIData=$p(%AIData,"^",1,2),%AIData=$$USIIn^ASSIFM1(%AIData) 2' WHERE
([CustomizationRec] = '894505') AND ([Environment] = 'REGNHIM') AND
([AICIndx] = 1) AND (ActualDateTime = #2005-12-08#)
'======Does Not work
UPDATE [tbl_AIC_LOC] SET [FormatOverride] = 's
%AIDataI(587)=$$ApptDt^AYKPHSCH($p(%AIM("SCH","SCH"),"|",5))' WHERE
([CustomizationRec] = '894505') AND ([Environment] = 'REGNHIM') AND
([AICIndx] = 1) AND (ActualDateTime = #2005-12-08#)
I can provide the rest of the code, if necessary but I'm hoping these DEBUG
examples can shed some light on my hunch.