yessir
Saved By Grace
- Local time
- Today, 16:11
- Joined
- May 29, 2003
- Messages
- 349
I am hoping to do some coding to automatically edit entries in a table.
The data is imported to the table via a button on a form and then displayed on the same form.
I am wondering if anyone has an example of how to do this easily.
I am looking to do this in a single table, searching one column at a time for one instance of something and either changing that value or moving it to another field in the table.
I am including what I am going to do for better understanding:
Thank in advance
~
The data is imported to the table via a button on a form and then displayed on the same form.
I am wondering if anyone has an example of how to do this easily.
I am looking to do this in a single table, searching one column at a time for one instance of something and either changing that value or moving it to another field in the table.
I am including what I am going to do for better understanding:
Code:
Private Sub cmdAutoFormat_Click()
'Do all the changes outlined as having to be done now
'Units - Change 'Units' to 'pH'
' - Check if valid
'Results - Check for '<', '>' in this column and place proper symbol in DL
' - Remove the '<', '>' from the Results column
' - Check for Non-Numeric values and place those in the Note
'LOQ - Check if contains 'Not Entered' and change to ""
'Analyte - Check for 'Sulfate' and change to 'Sulfates'
' - Check for 'pH' and change to 'pH(LAB)'
' - Check if valid
'DuplicateOf - Check if NotNull and ifNotNull then 'Duplicate' = Yes
'ClientID - Check for the values in ClientID = to table 'tblPrefix_Outlets'
' - If there extract and enter as the 'Location'
'Matrix - Check if valid
'Method - Check if valid
End Sub
Thank in advance
~