Question : How to make a back button

How can a make a button that will allow me to view the last form I opened. Basically, I want a back button. Just like the one we all use when we browse the internet and we need to go to the last screen that has been viewed.

Answer : How to make a back button

OK - it does not matter that the source and destination are the same.  

insert into myTable
(QuestId, MagId, ProfId, AnsId, Comments, GroupCode)
Select QuestId, MagId, 'new value for ProfId' as ProfId, AnsId, Comments, GroupCode
from
myTable T2
where T2.IsNew = 1    -- obviously, subsitute your own logic in the where clause

If you simply execute this against the server rather than bringing everything locally and iterating through each record it will be MUCH faster


Random Solutions  
 
programming4us programming4us