*Here's my code in search button..
Private Sub cmdSearch_Click()
If Len(PHempid) = 0 Or IsNull(EmployeeID) = True Then
MsgBox "You must select a field to search."
End If
If PHempid = Form_HbIRegistration.EmployeeID.Value = True Then
PHemplname.Value = Form_HbIRegistration.EmployeeLname.Value
PHempfname.Value = Form_HbIRegistration.EmployeeFname.Value
PHempmname.Value = Form_HbIRegistration.EmployeeMname.Value
End If
End Sub
_________________________________________________________________________________\
Question
The program can already search for a matching ID, but it only displays 1 result. When we try to use the search button again with a different ID ,the values displayed on the text boxes for the ID values do not change. They still display the values equal to the previous ID.
Register and join over 40,000 other developers!
Recent Topics
-
The Game You Are Waiting For?
WendellHarper - Dec 06 2020 01:21 PM
-
Quora and Reddit Backlinks
WendellHarper - Dec 06 2020 01:14 PM
-
Delete account
pindo - Jul 23 2020 01:33 AM
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

Visual Basic Coding In Microsoft Accesss 2003
Started by Frapps, May 06 2012 06:19 PM
VB Visual Basic Microsoft Access Database Microsoft Access 2003
No replies to this topic
#1
Posted 06 May 2012 - 06:19 PM
Also tagged with one or more of these keywords: VB, Visual, Basic, Microsoft, Access, Database, Microsoft Access 2003
Language Forums →
C and C++ →
How to implement password access to specific file type in Linux/Windows programmatically?Started by Kosarar, 08 Jan 2017 ![]() |
|
![]() |
||
Language Forums →
Visual Basic →
Writing the loop for updating multi-table MS access file using multi-sheet excelStarted by rela, 15 Nov 2016 ![]() |
|
![]() |
||
Language Forums →
Databases →
SOLVED: Conditional insertion of rows via MySQLStarted by PuddingEatsPanda, 19 Mar 2016 ![]() |
|
![]() |
||
General Forums →
General Programming →
Access databaseStarted by lamarmeadows, 03 Mar 2016 ![]() |
|
![]() |
||
General Forums →
General Programming →
sql database 2008Started by rhysgardner, 31 Jan 2016 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download