G
gr
Hi, I am trying to append a string to an unbound txtbox.
the unbound txtbox is named txtReg1 and it's control
source is set to:
=IIf([RegisterNumber]=1;IIf(IsNull([txtReg1]);[DocName];
[txtReg1] & Chr(10) & Chr(13) & [DocName]);" ")
So, if the txtReg1 is null, just put the current DocName
for RegisterNumber 1, but if it's not null (there was a
previous match for Register Number 1), then keep txtReg1
old value append return carriage and the new match.
But the only thing i get is #Error, what's wrong?
the unbound txtbox is named txtReg1 and it's control
source is set to:
=IIf([RegisterNumber]=1;IIf(IsNull([txtReg1]);[DocName];
[txtReg1] & Chr(10) & Chr(13) & [DocName]);" ")
So, if the txtReg1 is null, just put the current DocName
for RegisterNumber 1, but if it's not null (there was a
previous match for Register Number 1), then keep txtReg1
old value append return carriage and the new match.
But the only thing i get is #Error, what's wrong?