Computing.Net > Forums > Programming > Find Record in VB 6 table

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Find Record in VB 6 table

Reply to Message Icon

Name: lucky1
Date: November 3, 2004 at 07:45:45 Pacific
OS: win98 se
CPU/Ram: 1.4 AMD / 512
Comment:

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_Click

DoCmd DoMenuItem A_FORMBAR, A_EDITMENU, 10, , A_MENU_VER20

Exit_Find_Record_Click:
Exit Sub

Err_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



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: November 3, 2004 at 08:08:47 Pacific
Reply:

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"


0

Response Number 2
Name: lucky1
Date: November 3, 2004 at 10:56:06 Pacific
Reply:

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


0

Response Number 3
Name: Chi Happens
Date: November 4, 2004 at 12:22:18 Pacific
Reply:

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"


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Find Record in VB 6 table

Declaring Variables in VB 6.0 www.computing.net/answers/programming/declaring-variables-in-vb-60/9957.html

Function in VB 6 www.computing.net/answers/programming/function-in-vb-6/9626.html

want to shutdown my system in VB-6 www.computing.net/answers/programming/want-to-shutdown-my-system-in-vb6/2696.html