Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

+ 1
Good idea indeed

JB

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

jean.brezhonek wrote:

+ 1
Good idea indeed

JB

Done.
http://myvisualdatabase.com/forum/viewtopic.php?id=4910

Dmitry.

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

+1

Domebil

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

Can MVD work with sqlite 2.8?
I have a project using sqlite 2 as the database and would like to connect MVD to that project. Is there a way to make MVD work with sqlite 2. I also know sqlite 2 is outdated but I wish to connect to it through MVD.
Thank you.

@thezimguy

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

Just replace sqlite.dll file in your project folder and test it.

Dmitry.

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

Thank you boss
I will try it

@thezimguy

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

DriveSoft wrote:

Just replace sqlite.dll file in your project folder and test it.

The sqlite dll for sqlite 2 gets overwritten/replaced when I run MVD.

@thezimguy

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

replace sqlite.dll in MVD folder too.

Dmitry.

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

Thank you Dmitry. But I still couldn't get it to work.

@thezimguy

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

thezimguy wrote:

Thank you Dmitry. But I still couldn't get it to work.

Please provide more details.

Dmitry.

61 (edited by thezimguy 2019-08-29 02:57:25)

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

Good day family,
Please is there a way to create the following nav menu?
Thank you.

Post's attachments

Attachment icon IMG_20190829_023954_233.jpg 10.02 kb, 144 downloads since 2019-08-29 

@thezimguy

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

Hello the zimguy

Is this OK for you ?
JB

procedure Form1_bLast_OnClick (Sender: string; var Cancel: boolean);   //   - 1 record
begin
    Form1.GridEmployees.SelectedRow := Form1.GridEmployees.RowCount - 1;
end;

procedure Form1_bNext_OnClick (Sender: string; var Cancel: boolean);    // + 1 record
begin
    Form1.GridEmployees.SelectedRow := Form1.GridEmployees.SelectedRow +1;
end;

procedure Form1_bFirst_OnClick (Sender: string; var Cancel: boolean);     
begin
    Form1.GridEmployees.SelectedRow := 0;
end;

procedure Form1_bPrev_OnClick (Sender: string; var Cancel: boolean);
begin
    Form1.GridEmployees.SelectedRow := Form1.GridEmployees.SelectedRow -1;
    if Form1.GridEmployees.SelectedRow < 0 then Form1.GridEmployees.SelectedRow := 0;
end;

Re: [SOLVED] TagbleGrid, Pagination, Footer and Offset

Thank you @jean.brezhonek, but what I wanted was a way to get the nav control in MVD.
The control itself.

@thezimguy