I've been coding in VBA and now I would like to start learning Visual Studio 2008. The problem is that it is very easy to find solutions to vba questions, but in my first Visual Studio application, I've hit a wall first thing and not so easy to find a solution.
In VBA I used the all powerful dlookup function. It seems this function is not available in Visual Studio code.
I created a data source table Vendors.sdf in My Documents with 3 columns VendorID, VendorName, and VendshrtID. my goal is to enter the vendorID in Textbox1 and have the code return the VendorName in Label1 or if I enter the VendShrtID in textbox1 the code return the VendorName in Label1 as well.
can someone tell me how to accomplish a dlookup equivalent in Visual Basic?
In VBA I used the all powerful dlookup function. It seems this function is not available in Visual Studio code.
I created a data source table Vendors.sdf in My Documents with 3 columns VendorID, VendorName, and VendshrtID. my goal is to enter the vendorID in Textbox1 and have the code return the VendorName in Label1 or if I enter the VendShrtID in textbox1 the code return the VendorName in Label1 as well.
can someone tell me how to accomplish a dlookup equivalent in Visual Basic?