Quantcast
Channel: Software Communities : Popular Discussions - ActiveRoles
Viewing all articles
Browse latest Browse all 1277

Raise error when attribute is empty.

$
0
0
How do I raise an error when an expected attribute is empty?



I'm trying this:

                Set objUser = GetObject("EDMS://" + strDN)
               
                ObjUser.GetInfo
                               
                FTPRoot = ObjUser.Get("msIIS-FTPRoot")
                FTPDir = ObjUser.Get("msIIS-FTPDir")

But if the attributes are empty I get an error.  It's nice I get the error but I wanted to possibly have the user properties for the empty attribute pop up so it can be populated.  Or in the very least replace the current error with something more friendly.




Viewing all articles
Browse latest Browse all 1277

Trending Articles