I'm trying to have a bunch of text input boxes and drop downs update a spreadsheet. i need them to create a new row of information and then reset to blank on submission, seems simple enough but i keep getting errors and i really need someone to work through this with me.
Patch(Table1, Defaults(Table1), { DATE: DatePicker1.SelectedDate, NURSERY: Dropdown1.SelectedText, PLOT: TextInput1.Text, SUB_PLOT: TextInput2.Text, HISTORICAL_CROP_TYPE: Dropdown2.SelectedText, COMMENTS: TextInput3.Text, pH: TextInput4.Text, Ca: TextInput5.Text, Mg: TextInput6.Text, P: TextInput7.Text, K: TextInput8.Text, Cu: TextInput9.Text, Mn: TextInput10.Text, Zn: TextInput11.Text, B: TextInput12.Text}); Reset(DatePicker1); Reset(Dropdown1); Reset(TextInput1); Reset(TextInput2); Reset(Dropdown2); Reset(TextInput3); Reset(TextInput4); Reset(TextInput5); Reset(TextInput6); Reset(TextInput7); Reset(TextInput8); Reset(TextInput9); Reset(TextInput10); Reset(TextInput11); Reset(TextInput12); Navigate(SUBMIT_SUCCESS,ScreenTransition.None)
Error message: the type of this argument 'HISTORICAL_CROP_TYPE' does not match the expected type 'text' . Found type 'Record'.
thanks in advance!