Jan-11-2022, 05:22 PM
I'm trying this right now, based on something I saw in another discussion on this group, but don't know the syntax for that last line. It doesn't like just "row" in the append. The fetchall is returning a tuple.
cboTaskStep.delete(0,'end') thiscur=cnxn.cursor() sql2="Select StepDescription, TaskStepID from TaskSteps where TaskID = " +str(mydict[cboTask.get()]) thiscur.execute(sql2) cnxn.commit() for row in thiscur.fetchall(): cboTaskStep.append(row)