Question : Why Can't I find "TypeOf" in Microsoft's Access Help files.

It seems like whenever I'm looking for some information in the help files, i can never find what i'm looking for. And yet the item exists, because i will search for it here or on google and i will find it.  
I coudn't get the If TypeName(ctl) = "comboBox", to work, and i looked around and found this,  If TypeOf Ctl is ComboBox, and then i found this If ctl.ControlType = acTextBox. But when looking for this information in MS help files  i don't find TypeName method or the TypeOf Method. but it seems like all three work sometimes.

It seems like there is more vba code to use but ms doesn't list certain items in the help files. There are many, many times where i find this happening. Can anyone give me clue.

Answer : Why Can't I find "TypeOf" in Microsoft's Access Help files.

ControlType is in the 2003 VBA help. Sometimes it is a matter of *where* you look, in this example I know I am writing code so I open VBA (Alt+F11) and use the help there as opposed to using help from the main Access UI which will only look at Access stuff and not VBA stuff.

Steve
Random Solutions  
 
programming4us programming4us