Link to home
Start Free TrialLog in
Avatar of running32
running32

asked on

MaskEdit box will not populate with date

The code below should I though populate the mask edit box but instead of giving the date 1/30/2008 it gives me nothing.  When I trace it the value of     dtmcompleted is 1/30/2008.  the mask is ##/##/####.

thank you

If IsDBNull(Dsmfg1.Tables("tblPAMfg").Rows(0).Item("dtmcompleted")) = False Then
                        If Dsmfg1.Tables("tblPAMfg").Rows(0).Item("dtmcompleted") <> "1/1/1900" Then
                            dtmcompleted.CtlText = Dsmfg1.Tables("tblPAMfg").Rows(0).Item("dtmcompleted")

                        End If
                    End If
ASKER CERTIFIED SOLUTION
Avatar of Sancler
Sancler

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of running32
running32

ASKER

That worked.  thanks