cyberbiker
Programmer
I posted this to the VBA forum in error so appoligies for a duplicate post.
Please bear with me. I may be dense today but I have an interesting problem and will try to describe it.
I need to create a report from an existing table consisting of 2 fields.
Field one is a text field containing an Index number
field 2 is a text field containing a "title"
The index numbers are significant both by number and position.
They are entered into this table like this: (examples)
1
10
100
102
100-000
2
20
200
213
213-011 etc, etc, etc,
What I need to do is to print a report that looks like this:
1 Fasteners
10 Bolts
100 metric,fine thread
101 metric, course thread
101-001 metric, coarse thread, stainless
101-002 metric coarse thread, grade 5
11 screws
110 stainless
111 wood
2 glue
20 for paper
21 for wood
210 waterproof
211 non waterproof
And so on and so on for 2000 or so entries.
The report must be done in ACCESS 97, I cannot modify existing tables in any way. Level 1, 2, 3, etc need to be larger and bold font, levels 10, 20, 30 etc need to be smaller and bold, levels 1xx, 2xx etc again semibold and
1xx-xxx etc entries need to be regular font.
I thought I had a solution using nested sub reports but I can only use 2 "nested" sub reports in ACCESS 97 and I need to be able to use 3 to do things my way.
I have tried parsing out the index number field and creating a temp table then creating a report but for some reason, I cannot seem to reason out a way to get what I want.
I may be just having a mental block from frustration, but I really need help.
Did I mention, they want it today?
Terry (cyberbiker)
Terry (cyberbiker)
Please bear with me. I may be dense today but I have an interesting problem and will try to describe it.
I need to create a report from an existing table consisting of 2 fields.
Field one is a text field containing an Index number
field 2 is a text field containing a "title"
The index numbers are significant both by number and position.
They are entered into this table like this: (examples)
1
10
100
102
100-000
2
20
200
213
213-011 etc, etc, etc,
What I need to do is to print a report that looks like this:
1 Fasteners
10 Bolts
100 metric,fine thread
101 metric, course thread
101-001 metric, coarse thread, stainless
101-002 metric coarse thread, grade 5
11 screws
110 stainless
111 wood
2 glue
20 for paper
21 for wood
210 waterproof
211 non waterproof
And so on and so on for 2000 or so entries.
The report must be done in ACCESS 97, I cannot modify existing tables in any way. Level 1, 2, 3, etc need to be larger and bold font, levels 10, 20, 30 etc need to be smaller and bold, levels 1xx, 2xx etc again semibold and
1xx-xxx etc entries need to be regular font.
I thought I had a solution using nested sub reports but I can only use 2 "nested" sub reports in ACCESS 97 and I need to be able to use 3 to do things my way.
I have tried parsing out the index number field and creating a temp table then creating a report but for some reason, I cannot seem to reason out a way to get what I want.
I may be just having a mental block from frustration, but I really need help.
Did I mention, they want it today?
Terry (cyberbiker)
Terry (cyberbiker)