D
DowningDevelopments
I have a table called StudentRoom which lists all the rooms that are
available to students to let, when the table was designed I used the
following to differentiate each room and become the primary key:
City/building/block/flat/room
so 'Lei/fi/A/001/1' would translate to a room in Leicester, Filbert
building, block A, flat 001, room 1.
With hindsight we now know we dont need the city part of this primary key
and i need to update all the records so that it is trimmed from the above to
'fi/A/001/1', how can i do that? its stored as a sting in the form fiA0011 at
the moment and the slashes get put in when its read to an output.
Have no idea how to change a string like this in a query!! can do it using
VB but how could i go through all the records?
With much thanks
Amit
available to students to let, when the table was designed I used the
following to differentiate each room and become the primary key:
City/building/block/flat/room
so 'Lei/fi/A/001/1' would translate to a room in Leicester, Filbert
building, block A, flat 001, room 1.
With hindsight we now know we dont need the city part of this primary key
and i need to update all the records so that it is trimmed from the above to
'fi/A/001/1', how can i do that? its stored as a sting in the form fiA0011 at
the moment and the slashes get put in when its read to an output.
Have no idea how to change a string like this in a query!! can do it using
VB but how could i go through all the records?
With much thanks
Amit