Jan van Bekkum
Registered User.
- Local time
- Today, 21:27
- Joined
- Feb 25, 2010
- Messages
- 23
I have a table [DecisionMachine] with a master/slave relationship to a second table [DecisionOptions]. I also have a form with [DecisionMachine] as record source. In the form I want to use a listbox that only lists the records in [DecisionOptions] that correspond with the current record of [DecisionMachine]. I have tried to achieve this by using row source
SELECT [DecisionMachineOptionsCurrentDecision].[OptionText], [DecisionMachineOptionsCurrentDecision].[ID] FROM DecisionMachineOptionsCurrentDecision ORDER BY [ID];
However, when I go to a new record. The listbox stays at the first record.
I go to the next record in [DecisionMachine] by means of a button that triggers an embedded macro that has a "GoToRecord" line
SELECT [DecisionMachineOptionsCurrentDecision].[OptionText], [DecisionMachineOptionsCurrentDecision].[ID] FROM DecisionMachineOptionsCurrentDecision ORDER BY [ID];
However, when I go to a new record. The listbox stays at the first record.
I go to the next record in [DecisionMachine] by means of a button that triggers an embedded macro that has a "GoToRecord" line