I am a novice to VB. That being said:
Some VB scripts in my forms do not refresh the data as I switch records. For example:
This script is links an autonumber field with another. It works fine. However, when I click next record, it just stays to the same data:
Then I have this script that changes the case of text, but it works when it wants.
Where do I put them to may them refresh data?
Thanks.
ElvisR
Some VB scripts in my forms do not refresh the data as I switch records. For example:
This script is links an autonumber field with another. It works fine. However, when I click next record, it just stays to the same data:
Code:
Dim strID As String
strID = Me.[STATE] & Me.[ID]
Me.[IDD] = strID
Then I have this script that changes the case of text, but it works when it wants.
Code:
Me.[LAST_NAME] = UCase(Me.[LAST_NAME])
Me.[FIRST_NAME] = UCase(Me.[FIRST_NAME])
Me.[MIDDLE] = UCase(Me.[MIDDLE])
Me.[COMPANY] = UCase(Me.[COMPANY])
Me.[ADDRESS1] = UCase(Me.[ADDRESS1])
Me.[CITY] = UCase(Me.[CITY])
Me.[STATE] = UCase(Me.[STATE])
Me.[ZIP] = UCase(Me.[ZIP])
Me.[EMAIL ADDRESS] = UCase(Me.[EMAIL ADDRESS])
Me.[SPECIALTY] = UCase(Me.[SPECIALTY])
Me.[REMARKS] = UCase(Me.[REMARKS])
Where do I put them to may them refresh data?
Thanks.
ElvisR