What i want to do is to put an acess table right on the form in visual basic. Any suggestions
Printable View
What i want to do is to put an acess table right on the form in visual basic. Any suggestions
technically you can not put a "table" on a form because a table object is not a visible "control", a table is a database object and even when you are in "table View" in a database system like MS-Access or dBase you are not really seeing "the table", you are seeing a grid that is filled with the contents of a table.
I think what you want to do is use a *grid control*, such as MSFlex, DBGrid (or a real one likeVSFlexPro6 www.videosoft.com or TrueBGrid www.apezsc.com)
You drop the grid on the form, set it's properties (and/or bind it to a datasource via a datacontrol for DAO or directly to a recordset object in ADO ... or directly to an ary if you use VSFlexPro6) and the contents of a table or filter/view/recordset are displayed with optional editing permissions.
------------------
http://www.smithvoice.com/vbfun.htm
I don't usually disagree with SmithVoice but you should be able to accomplish what you want via COM/Automation. Much the same way you can have Excel draw a chart on your VB app...
Just don't ask me to explain how... :P