There is a tricky idea, which is solvable, but shall not be ugly or work fuzzy.
This is the setup:
A method receives an array of records.
This array is itereated by for i:=0 to high...
The values are written (each!) into edit fields or a form like this
myedit.text:=array.myword;
myedit2.text:=array.myword2;
It would be easy to make a message-dialog asking, if the values shall be written into the database. Then the loop is fine, the values are written to the database or they are not.
BUT it would be great, if the user would be able to modify the edit fields additinally.
How to do this without doing really strange things?
a)
I can put a button onto my form saying "write the values to the database".
The user would not be able to click it, because the methods' loop enforces the dialog-"do you want to write it to the DB" runs to its end.
b)
I can interrupt the loop-dialog and allow to edit the edits on the form and click a button for writing them into the database.
But how to find the digit of the array having been used and which not?
To put it differently: The user will want to have a mix of autofill from the array and edit items of edit-inputs by hand.
Any ideas?
Thanks.
Please you watch this video
My application ,devcinfo.exe display many birds and eggs love lover, but in second
screeen, ; the same devcinfo.exe and him -inside, He call other .dll
with -- Your your-question , but He work continue, He do not stop working
my task He do not stop work, until the user click on Yes or No.
https://sourceforge.net/projects/vlxc-codoclisp/files/Source4Lazarus/popa_lazarus12arsenie2025boca.mp4/downloadPlease downloading , you see both,
https://sourceforge.net/projects/vlxc-codoclisp/files/Source4Lazarus/Doamne ajuta, Parintele Cleopa roaga-te pentru pacatosi.

If you have the question?, then , you send PM. to me.
Ps: I need work team, or online collaborate for upgrade together as new questions from you, or new-forms (edit, labels, edit, caption, memo.txt)