aerodolphin
New member
- Local time
- Today, 13:01
- Joined
- Aug 26, 2009
- Messages
- 5
Hello,
I need that database working, but I'm having some issues. I tryed a lot of things. I waste a lot of time and no success. Please help. I think is simple for who knows how to do it.
TABLES PRESENTED ON THE DATABASE
WHEELS (ID, PN, SN, OH_CYCLE)
OH_CONTROL (ID, PN, OH_CYCLE, ACTION, CONDITION)
SIMPLE EXPLANATION OF MY DATABASE
I have a table [WHEELS] with a list of wheels. There I included too the number of overhauls (field OH_CYCLE).
I have another table [OH_CONTROL] that have a list of (OH_CYCLE) numbers and the corresponding action/condition. In other words.
The wheels need a different type of inspection in accordance with that list on the [OH_CONTROL] table.
So, I have 2 forms:
- WHEEL CONTROL: We should run this form first. Here we insert the P/N and S/N of the Wheel. And the system give us the
information about the O/H cycles for that specific wheel. When we click on the "NEW OVERHAUL" button, the system runs a MACRO
that adds 1 more O/H cycle to the table [WHEELS] and then opens the next form.
- NDT CONTROL POP UP: Here appears one more time the P/N and S/N of the selected wheel. Appears the actual O/H cycle updated with
+1 from the macro before. And I need to get that value (from O/H CYCLE) and use it to display the message on the [Lista26] box.
THE PROBLEM
On the NDT CONTROL POP UP form I'm having difficulties in get the value from [OH_CYCLES_BOX] and use it to display the message of
the action/condition to do on the [Lista26] box.
I will need a query or use another function to select the condition field of the table [OH_CONTROL] where the P/N and OH_Cycle
match.
POSSIBLE SOLUTIONS
I tryed the DLookup() function but without success.
Please, someone can give me a help. Thank you.
I need that database working, but I'm having some issues. I tryed a lot of things. I waste a lot of time and no success. Please help. I think is simple for who knows how to do it.
TABLES PRESENTED ON THE DATABASE
WHEELS (ID, PN, SN, OH_CYCLE)
OH_CONTROL (ID, PN, OH_CYCLE, ACTION, CONDITION)
SIMPLE EXPLANATION OF MY DATABASE
I have a table [WHEELS] with a list of wheels. There I included too the number of overhauls (field OH_CYCLE).
I have another table [OH_CONTROL] that have a list of (OH_CYCLE) numbers and the corresponding action/condition. In other words.
The wheels need a different type of inspection in accordance with that list on the [OH_CONTROL] table.
So, I have 2 forms:
- WHEEL CONTROL: We should run this form first. Here we insert the P/N and S/N of the Wheel. And the system give us the
information about the O/H cycles for that specific wheel. When we click on the "NEW OVERHAUL" button, the system runs a MACRO
that adds 1 more O/H cycle to the table [WHEELS] and then opens the next form.
- NDT CONTROL POP UP: Here appears one more time the P/N and S/N of the selected wheel. Appears the actual O/H cycle updated with
+1 from the macro before. And I need to get that value (from O/H CYCLE) and use it to display the message on the [Lista26] box.
THE PROBLEM
On the NDT CONTROL POP UP form I'm having difficulties in get the value from [OH_CYCLES_BOX] and use it to display the message of
the action/condition to do on the [Lista26] box.
I will need a query or use another function to select the condition field of the table [OH_CONTROL] where the P/N and OH_Cycle
match.
POSSIBLE SOLUTIONS
I tryed the DLookup() function but without success.
Please, someone can give me a help. Thank you.