George
asked on
Re-writing Access Expression in to VB.Net
Hi Everyone
I need to convert the following expression in to a VB.Net 2005 code to a
If
then
else
end if
I am not familiar with the Switch so I do not get why the "true" part is there
The expression is the control source of a text box in an access 2003 report.
I would like if some one can explain me what is the 'true' in the expression doing and the converted code
Thank you in advance
jguinard
I need to convert the following expression in to a VB.Net 2005 code to a
If
then
else
end if
I am not familiar with the Switch so I do not get why the "true" part is there
The expression is the control source of a text box in an access 2003 report.
I would like if some one can explain me what is the 'true' in the expression doing and the converted code
Thank you in advance
jguinard
=Switch(IsNull([ndSeqBlank]),"",nz([ndSeqBlank])<=100000,"T-" & [ndSeqBlank],True,"D-" & IIf([ndSeqBlank]<100000000000,"0","") & [ndSeqBlank])
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(from grading comment)> Thank you very much Abel! Now I got it clear> I selected as multiple solutions your answers because they complement eachother
I know, and that's the right way to do it. Glad it helped.
I know, and that's the right way to do it. Glad it helped.
ASKER
I selected as multiple solutions your answers because they complement eachother but all 500 goes anyway for you-Tx