Code Works in Preview but not in Published?

:joy: Funny. Okay, I’ve been found out. I’m not a true JS coder but I do come out to the old school of Assembly Language coding. Something has to have changed in the compiler for this not to work now. Can you help me here? This code was cut & pasted from what I found someone else using for finding (looking-up) rental properties. I played with it until it worked. The red error states Module ‘“wix-data”’ has no exported member ‘wixData’. Like I said, something has to have changed in the compiler.

For the 4 parameters entered by the user, my dataset will only return one answer (match). Should be pretty easy. Thanks!