I have read about this issue on these forums, but I'm still stumped as to what I'm doing wrong in my app.
I have a table called Lobby and a table called Services. Lobby is a table for member check-ins to a lobby. Services is a table of potential services rendered to customers.
I have a mapping table called Lobby Service Requests for tracking any of the requested services made by a customer in the lobby.
This table has 2 Lookups: Lobby and Service, respectively.
In my app, I have a combo box that is loading all active Services into the Items.
When the Save button is clicked, my lobby member is saved in a Patch call that also saves the row in a variable called SubmittedLobbyMember.
Finally, I am trying to loop through the SelectedItems of my combobox and patch all of the new mapped records to the SubmittedLobbyMember record. Here is my block of code that give the error: "The specified column is not accessible in this context":
ForAll(RequestedServicesCombobox.SelectedItems,
Patch('Lobby Service Requests',
Defaults('Lobby Service Requests',
{
Lobby: SubmittedLobbyMember,
Service: ThisRecord
}
);
);
I am desperate at this point and the solution is eluding me. Any help anyone can lend would be greatly appreciated.