Recent

Author Topic: Showmodal affects SQLQuery behavior  (Read 4907 times)

rvk

  • Hero Member
  • *****
  • Posts: 6328
Re: Showmodal affects SQLQuery behavior
« Reply #15 on: August 17, 2023, 01:07:45 pm »
Show all relevant code.

You say the code for delete itself works.
So putting just a QuestionDlg inbetween shouldn't matter.

And you say your code works with MessageDlg now?

mikeosullivan

  • New Member
  • *
  • Posts: 11
Re: Showmodal affects SQLQuery behavior
« Reply #16 on: August 17, 2023, 07:40:42 pm »
Yes, the code works fine with MessageDlg but not with QuestionDlg. Strange behaviour, isn't it?

rvk

  • Hero Member
  • *****
  • Posts: 6328
Re: Showmodal affects SQLQuery behavior
« Reply #17 on: August 17, 2023, 08:24:08 pm »
Yes, the code works fine with MessageDlg but not with QuestionDlg. Strange behaviour, isn't it?
I think there is something hugely wrong elsewhere in your program.

QuestionDlg or MessageDlg  shouldn't make a difference.
If it does, I suspect you have a huge (memory) corruption somewhere in your program.

mikeosullivan

  • New Member
  • *
  • Posts: 11
Re: Showmodal affects SQLQuery behavior
« Reply #18 on: August 17, 2023, 09:45:13 pm »
Thanks. I guess I'll just have to go through all of my code. If I find the error I'll let you know. Once again, I really do appreciate your help - thanks very much.

 

TinyPortal © 2005-2018