Maybe I'm still stuck in the 'web environment' but how do you pass a value to a form? For instance, my main form has a listview on it that is populated via database. I wrote some ItemClick and DblClick code to open a new form using frmName.Show vbModal.

However, I want the primary key to be passed as a value to that form so that I can run a select statement based on that value.

Can anyone help?

-Steve