Computing.Net > Forums > Programming > VBKing(ish) I need your help??

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.

VBKing(ish) I need your help??

Reply to Message Icon

Name: DON
Date: August 29, 2002 at 09:18:20 Pacific
Comment:

First, thanks for all the help!! I think I am going about this the wrong way. This exactly what I am trying to accomplish, maybe you could help me with some sample code?
1)I have an Access db with say 15,000 records
2)I have designed a form to enter,delete,edit etc records in that db.
3)The form (VBProject1) connects to the db via a Dataenvironment (MSJet3.5)
4) As a user enters a person's Id number in the ID field, I would like the app to examine all the data in the db table and if that id number already exists, have the corresponding Last name, first name, Race and sex automatically enter into the form?? and if the Id number does not exist, have the form tab to the last name control for normal data input???
******Second question******
Never mind, if you are willing, I'll ask this question later
Thanks a million
DoN



Sponsored Link
Ads by Google

Response Number 1
Name: New Guy
Date: August 29, 2002 at 12:23:10 Pacific
Reply:


Check your post on more vb help. I have left some code I beleive will get you started. Then in the form load just put this line of code in the if statement

else
txtlastname.setfocus

This should solve your problem. Any questions just post again


New Guy

Sorry but I didn't notice this posted message before I responded to your other post


0

Response Number 2
Name: VBKing(ish)
Date: August 30, 2002 at 00:04:11 Pacific
Reply:

Don -

If you like post an E-Mail address and I will send a project file with what you need, I'm having a slack day at work anyway!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


databases and web pages Automated Script Editing ...



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: VBKing(ish) I need your help??

Need your help urgently. (LsaLogonUser) www.computing.net/answers/programming/need-your-help-urgently-lsalogonuser/2516.html

I need your advice please www.computing.net/answers/programming/i-need-your-advice-please/12938.html

I need ur help www.computing.net/answers/programming/i-need-ur-help/147.html