Hi, I have a table that was created using a make table query:
A00zz/A04zz/B00zz are all headings (the zz is to distinguish in reports and forms).
Now, since there are no sub headings after A00zz I would like to delete that record from the temporary table.
At a rough guess, I would think the pseudo-code for it could be:
[tt]IF NEXT Record REF ends with zz THEN do not add this record to new table[/tt]
I hope someone will understand what I have asked, and will be able to help.
If any more info is required, I will be greatful for people to ask.
Thanks in advance,
Aubs
Code:
| Ref | Compliance |
|========|============|
| A00zz | N/A |
|--------|------------|
| A04zz | N/A |
|--------|------------|
| A05 | N |
|--------|------------|
| B00zz | N/A |
|--------|------------|
| B01 | N |
|--------|------------|
| B02 | Y |
|--------|------------|
| B04 | N |
|--------|------------|
A00zz/A04zz/B00zz are all headings (the zz is to distinguish in reports and forms).
Now, since there are no sub headings after A00zz I would like to delete that record from the temporary table.
At a rough guess, I would think the pseudo-code for it could be:
[tt]IF NEXT Record REF ends with zz THEN do not add this record to new table[/tt]
I hope someone will understand what I have asked, and will be able to help.
If any more info is required, I will be greatful for people to ask.
Thanks in advance,
Aubs