I have set up a form that I can load a Datatable in, but how do I return the index number so I know what the user selected. If possible I would rather not use a global variable.

Found it, just made form2 a dialogbox

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.