Why when I have selected the form to show in taskbar, but the form will not appear in the taskbar when I run it ?

And in Ado, we can have

'rstCust!name'

to access the name field. How can I pass the name field to a function local variable which substitude the statement above with that variable. Such as

Private Sub A(name as string)
Debug.print rstCust!name
End Sub


Thanks.