| re: New to VB -- how to open an Access table?
On 3 Aug 2004 14:54:41 -0700, Sean Strauss wrote:
[color=blue]
> Hi! Help!!
>
> I'm new to VB, and although I understand all the theory I need to
> program, I don't know the docmd commands. In particular, right now
> I'm just trying to open a table in Access -- yes, that's all -- but
> the darned thing doesn't give me any useful clues as to what I'm doing
> wrong. Here are samples of commands that don't work:
>
> DoCmd.OpenTable tblRequired_OC
> DoCmd.OpenTable (tblRequired_OC)
> DoCmd.OpenTable (tblRequired_OC,acViewNormal,acEdit)
> DoCmd.OpenTable tblRequired_OC, acViewNormal, acEdit
>
> I have no idea what I'm doing wrong, and all the books must think that
> this is too easy to give help for this. Anyone? Thanks muchly...[/color]
DoCmd.OpenTable "TableNameinQuotes"
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email. |