Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to convert the following from Access 2.0 to VB 6, but am having no luck, any help to resolve would be helpful to say the least. . .
------
Private Sub Find_Record_Click ()
On Error GoTo Err_Find_Record_ClickDoCmd DoMenuItem A_FORMBAR, A_EDITMENU, 10, , A_MENU_VER20
Exit_Find_Record_Click:
Exit SubErr_Find_Record_Click:
MsgBox Error$
Resume Exit_Find_Record_Click
End Sub----------
Incidentally, I don’t know what I am doing as I am a cut & paste non programmer and at 77, too old to learn new tricks.
lucky1

What's the error you are getting?
Do you have an ADODB.Command object called DoCmd and a menu item called DoMenuItem?
Chi
"They mostly come at night...mostly"

Hi Chi,
No error message, it just wont work.
My old Access 2.0 program works, and I am trying to make a .exe program out of it and
no to the "DoCmd or DoMenuItem".I believe I have bitten off more than I can chew and may have to keep on using the old program.
Thanks for the effort but "I'm over my head".
lucky1

If you wanna send me the code/project I would be happy to help. I have tons of vb6 and database experience.
Chi
"They mostly come at night...mostly"

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |