OK, Kem and Alberto helped me to get a working INSERT INTO statement as follows:
"SELECT 2, ProposalID, LineupID, CasesListBoxRow, CasesListboxValue,CellEditControl, CellDataSource " + _
"FROM CasesListboxContent " + _
"WHERE CasesListboxColumn = 4"
db.SQLExecute(sql)
What I need now, but can't figure out how to do it after reading everything I could about INSERT INTO sql statements:
1) Make both the "2" and the "4" in my existing statement variable. I looked at dynamic SQL but it was over my head.
2) Be able to take one source column (e.g., the "4") and insert it's data into multiple columns (e.g., not just the "2" shown in the statement.
How do I do these two things? ... Thanks in advance!
Windows 10
Xojo 2016 R1
13 posts - 5 participants