hi -
I have a text field in a table; the table is called something like 'Updates' and the text field is called 'PK'. The table's used to help identify records in the database that were updated by a user. For example, one field in the 'Updates' table is the TableName' field which points to the table updated by the user. The 'PK' field identifies the record in the 'TableName' field that was updated. The 'PK' field typically has multiple components, delimited by semicolons (";". Although there may be more than two components attached with any 'PK' entry, only the first two are of interest. The first points to the 'Patient Number' and the second points to the 'Cycle Number' of the record.
What I'd like to do is create two additional fields in the 'Updates' table which take as their value the value of the first and, when it is not null, the value of the second component of the 'PK' field. And you guessed, the pair would be called 'Patient Number' and 'Cycle Number' and take the first and second (when available) component of 'PK', respectively.
I have looked in the Access help documentation for the method but not had much luck, but I'm convinced it's doable.
[I plan to post this query in Access Other Topics as well]
I have a text field in a table; the table is called something like 'Updates' and the text field is called 'PK'. The table's used to help identify records in the database that were updated by a user. For example, one field in the 'Updates' table is the TableName' field which points to the table updated by the user. The 'PK' field identifies the record in the 'TableName' field that was updated. The 'PK' field typically has multiple components, delimited by semicolons (";". Although there may be more than two components attached with any 'PK' entry, only the first two are of interest. The first points to the 'Patient Number' and the second points to the 'Cycle Number' of the record.
What I'd like to do is create two additional fields in the 'Updates' table which take as their value the value of the first and, when it is not null, the value of the second component of the 'PK' field. And you guessed, the pair would be called 'Patient Number' and 'Cycle Number' and take the first and second (when available) component of 'PK', respectively.
I have looked in the Access help documentation for the method but not had much luck, but I'm convinced it's doable.
[I plan to post this query in Access Other Topics as well]