1. Kevin
  2. Valentina Studio
  3. Monday, July 20 2020, 01:17 AM
  4.  Subscribe via email
Create three forms: A, B, C. Do not connect them to a database (the same behavior occurs when they are).

Place a button on each form.

The button on form A contains this code on clicked:

this.accept();

import '/frm_B' as dlg
dlg.exec()

The button on form B contains the same code accept it is opening form C.

Form C will open form A.

Execute form A. Everything works until form C tries to re-open form A.

The error message below appears twice with the same timestamp:

20:57:04 frm_A: Import recursion.

I initially had two forms and wanted to go from form B to form A. Same error.

Is there a way to do this? Where one can open and close forms and re-open them from other forms?


Thanks.
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Kevin,

It's a limitation of the import function, we'll check how to improve it.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 1
Sergey Pashkov Accepted Answer
Hello Kevin,

The fix will be available in version 10.5
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 2
Sergey Pashkov Accepted Answer
Also, we have a beta version where this issue is fixed
References
  1. http://valentina-db.com/download/beta/10.5b20/
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.