views:

32

answers:

0

hi All,

I am displaying a list from database in a popup menu. But the list is displayed where the cursor is and not adjacent to the field. How can I solve this?

Thanks for your replies.

Edit:

Dim x As Integer

x=ShowPopupMenu(staffName,vbPopupVCenterAlign)

If x <> -1 Then
    CurrentField.Value=staffName(x)
End If