1 (edited by krokodil_sk 2016-03-01 20:46:33)

Topic: Button with Show Record to open form and next to Save Textbox to DB

Hi,

i think i find one bug.

After i set Button to Show record from table grid to Form.
What is selected in table grid is auto loaded to Textbox thats anything working OK.
But when i create on this form, what i open after Show Form, one table grid, one save button, and 2x textboxes.
I create new database table what i see on this new table grid and here i save with this new save button this 2x new textboxes.

Now here is the problem.
This save button not works after first click. After 2x click already save to DB all.After 3x click working all OK too.

To test:
In Attachment after start click to bSearch, select one row on GridSearch.Then Click Edit.
Now write something to Edit1 and Edit2.
Then click to Button1(save) .Now you see after first click on this button
is nothing happens,But after you repeat your click here.The data was saved.

Thx,

Brgds,
Krokodil

Post's attachments

Attachment icon test1.rar 294.53 kb, 477 downloads since 2016-03-01 

Re: Button with Show Record to open form and next to Save Textbox to DB

Hello,

Sorry for delay.
Thank you for the bug report, fixed.
Please download 2.5 beta version
https://www.dropbox.com/s/kfh2q7h8l73lx … a.zip?dl=0

Dmitry.

Re: Button with Show Record to open form and next to Save Textbox to DB

Thx,

but after this update,  when i start MVD i get error like attachment.


I sent one more bug on you email. If you have some little time please check it.

To address:  support@drive-software.com
on 14. 3 2016, 21:45

Also on this project you can check this error after update to MVD 1,52 (in attachment)

Thx,
Brgds,
Krokodil

Post's attachments

Attachment icon scan0002.jpg 17.62 kb, 301 downloads since 2016-03-18 

Re: Button with Show Record to open form and next to Save Textbox to DB

but after this update,  when i start MVD i get error like attachment.

You got this error instant after start MVD? without open any project?

Dmitry.

Re: Button with Show Record to open form and next to Save Textbox to DB

I got this error after load my project and start it.

Re: Button with Show Record to open form and next to Save Textbox to DB

I tested your project from first message of this topic, there is no any errors.
Can you attach your project?

Dmitry.

7 (edited by krokodil_sk 2016-03-22 11:22:40)

Re: Button with Show Record to open form and next to Save Textbox to DB

I already sent you mi project to support@drive-software.com with Subject: Krokodil_Sk My project BUGS MDV

With one more bug
When the BUTTON with action Report,Saving datas and just after this create a Report.

Please check this 2 bugs,

I have also one orther qeustion.My script file has about 16000 line.
Any starting this program from MVD take about 5 minutes.Is very hard to testing what i write.
Where can by the problem ? Is this  project too big for MVD ?

Thx,

Krokodil

Re: Button with Show Record to open form and next to Save Textbox to DB

krokodil_sk
After this update, you can't connect to database or execute sql queries between

begin

end.

Just move this code to OnShow of main form.


On my PC  (Core i3, RAM 3gb) project open for 20sec and run for 1min 15 sec.
I will try to optimize this process.

Dmitry.