N
Nancy
This is what I want to do.
In the PO_TBL I have a field PO_ITEM_NBR which combines the data of the
PO_ITEM and PO_NBR fields.
I want to parse into the actual fields of PO_ITEM and PO_NBR which will
exist in the same table.
Current Table Result
PO_ITEM_NBR PO_ITEM PO_NBR
123344 001 123344 001
123344 002 123344 002
123455 001 123455 001
etc.
I have created a updte query with the following SQL statememnt:
UPDATE PO_TBL SET PO_ITEM = Left(PO_ITEM_NBR,InStr(PO_ITEM_NBR," ")-1),
PO_NBR = Mid(PO_ITEM_NBR,InStr(PO_ITEM_NBR," ")+1);
When I attempt to do this, it asks for the PO_ITEM_NBR. I do not enter one
because I want the entire database.
It then gives me the error Datatype mismatch in criteria expression.
Why to I need to provide a PO_ITEM_NBR? How do I write this query to update
every row in access
without providing a PO_ITEM_NBR?
Thanks,
In the PO_TBL I have a field PO_ITEM_NBR which combines the data of the
PO_ITEM and PO_NBR fields.
I want to parse into the actual fields of PO_ITEM and PO_NBR which will
exist in the same table.
Current Table Result
PO_ITEM_NBR PO_ITEM PO_NBR
123344 001 123344 001
123344 002 123344 002
123455 001 123455 001
etc.
I have created a updte query with the following SQL statememnt:
UPDATE PO_TBL SET PO_ITEM = Left(PO_ITEM_NBR,InStr(PO_ITEM_NBR," ")-1),
PO_NBR = Mid(PO_ITEM_NBR,InStr(PO_ITEM_NBR," ")+1);
When I attempt to do this, it asks for the PO_ITEM_NBR. I do not enter one
because I want the entire database.
It then gives me the error Datatype mismatch in criteria expression.
Why to I need to provide a PO_ITEM_NBR? How do I write this query to update
every row in access
without providing a PO_ITEM_NBR?
Thanks,