Mike Hughes
Registered User.
- Local time
- Today, 21:58
- Joined
- Mar 23, 2002
- Messages
- 493
I want to write a query to select records in a table where the ORDER ID field doesn't contain 16 characters. In the sample data below the only records that should be returned would be:
AA ///////000AX/// 04120221P///////// FM-2008-00555
AA/////// 000AX/// 20030377P///////// FM-99-021 1 OF 1
AA/////// 000AX/// 20030377P///////// FM-99-021 1 OF 2
Example:
DO/////// WORKER// CASE///////////////ORDER ID
AA/////// 000AP/// 20146690P///////// BIDDCFM200800440
AA/////// 000AX/// 04120221P///////// FM-2008-00555
AA/////// 000AX/// 20030377P///////// FM-99-021 1 OF 1
AA/////// 000AX/// 20030377P///////// FM-99-021 1 OF 2
Can someone tell me how to do this please?
AA ///////000AX/// 04120221P///////// FM-2008-00555
AA/////// 000AX/// 20030377P///////// FM-99-021 1 OF 1
AA/////// 000AX/// 20030377P///////// FM-99-021 1 OF 2
Example:
DO/////// WORKER// CASE///////////////ORDER ID
AA/////// 000AP/// 20146690P///////// BIDDCFM200800440
AA/////// 000AX/// 04120221P///////// FM-2008-00555
AA/////// 000AX/// 20030377P///////// FM-99-021 1 OF 1
AA/////// 000AX/// 20030377P///////// FM-99-021 1 OF 2
Can someone tell me how to do this please?