I'm trying to do what I thought was a fairly basic function. I have a list of equipment serial numbers and the addresses for that equipment. When the serial number is selected from the Listlookup control I want to use a rule with a lookup to populate the address fields. If I hard code the lookup with a list ID it works perfectly.
code: lookup("lstEquipmentList", "id", 836, "address")
If I use the variable for the listlookup I get an error.
code: lookup("lstEquipmentList", "id", [Form].[lstSNum], "address")
error: Microsoft.SharePoint.Client.InvalidClientQueryException"