hardhitter06
Registered User.
- Local time
- Today, 18:14
- Joined
- Dec 21, 2006
- Messages
- 600
Hey Everyone,
Access 2003.
I have a form "frmFedIDSearch" where I enter in a 9 digit Fed ID and hit a search button to open "frmSearchMain" to retreive a record with that given Fed ID.
At times, the Fed ID will not be in the system so I'd like to show what the user searched on the second form so they can look over the number and make sure they entered it correctly.
Now I've done this before with a Date Range showing the range of the dates searched on the previous form (in other words what I searched on Form A is displayed on Form B)
With my current problem, on Form A I have a unbound textbox "text26" where you enter the Fed ID to be searched.
On Form B, I have an unbound textbox "text21" where I'd like to show the searched FedID.
With my date example, I used similar coding:
I'm not sure why "yourTextBoxNameHere" is in my code, but it worked for my old example so I just copied it over and make the appropriate Text box name changes.
Can someone let me know what I'm missing here??
P.S..I've tried this unbound textbox on both the Header and in the body of the form B to no avail.
Thank you.
Access 2003.
I have a form "frmFedIDSearch" where I enter in a 9 digit Fed ID and hit a search button to open "frmSearchMain" to retreive a record with that given Fed ID.
At times, the Fed ID will not be in the system so I'd like to show what the user searched on the second form so they can look over the number and make sure they entered it correctly.
Now I've done this before with a Date Range showing the range of the dates searched on the previous form (in other words what I searched on Form A is displayed on Form B)
With my current problem, on Form A I have a unbound textbox "text26" where you enter the Fed ID to be searched.
On Form B, I have an unbound textbox "text21" where I'd like to show the searched FedID.
With my date example, I used similar coding:
Code:
Private Sub Text21_BeforeUpdate(Cancel As Integer)
Forms!frmFedIDSearch.YourTextBoxNameHere = Me.Text26
End Sub
I'm not sure why "yourTextBoxNameHere" is in my code, but it worked for my old example so I just copied it over and make the appropriate Text box name changes.
Can someone let me know what I'm missing here??
P.S..I've tried this unbound textbox on both the Header and in the body of the form B to no avail.
Thank you.