651

(3 replies, posted in General)

Some examples here: http://myvisualdatabase.com/forum/viewtopic.php?id=1420

Hi Dmitry,

I just realized that an important feature is absent from MVDB when using default "Search" feature with a button, there is no filter possible!

I was looking for simple way to discard some results in an easy way without writing an SQL query which is the purpose of MVDB and it is available in the Grid properties smile

Is it planned to implement a filter in "Search" by button?

http://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=1175

653

(2 replies, posted in Reports)

Thanks Dmitry!

654

(2 replies, posted in Reports)

Would it be possible to:

- Remove the edition feature from a report preview as when it is saved, all the report is messed up.
- Change the name of the preview window ?

http://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=1162

655

(6 replies, posted in General)

How do you insert data in you database? Which size is your SQLite.db file?

Which method? Do you use specific scripts? Do you have an antivirus checking on access files?


@Dmitry

There is a very interesting post here, at the end: http://stackoverflow.com/questions/3852 … -very-slow

Is it enabled in MVDB?

656

(16 replies, posted in Reports)

Thanks Dmitry,

for some reason, the "frxReport" works only on main form, I had to adapt the script to point to main form (SelectForm) so it looked like

SelectForm.frxReport.blablabla

I could manage 16 different reports on the same page which is the purpose of a database for me, getting dashboard reports in a snap. The report designer is just not very user friendly, though!

The last label at the bottom of the form does not calculate anything smile

658

(16 replies, posted in Reports)

I have an error while transposing your example to my project, see attached picture

http://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=1104

659

(1 replies, posted in Script)

Hi Dmitry,

would it be possible to have a list of all possible parameters we can retrieve using the command "Get" in a script?

Like "GetUserName" to retrieve the current Windows login name.

Is it possible to get the computer name? The network name? etc...

The last script does not work in 1.51.

I remember having the need to count the elapsed time to manage quarantine at some point but I was using SQL statement with "julianday" function:


select .......,

round(julianday('now') - round(julianday(<starting_date>))


from table


more here : http://www2.sqlite.org/cvstrac/wiki?p=D … eFunctions

662

(7 replies, posted in Script)

Oh great! I think, this is something I could use to create some kind of wizard smile Thanks Dmitry

663

(7 replies, posted in Script)

That's great but how do you do if you want to un-hide the 1st form? Let's say, on form2_OnClose --> back to form1 smile

664

(10 replies, posted in SQL queries)

Please find a simple example with one Table Employee and one table logs.

To see and edit the triggers, you will have to use an external tool SQLStudio
Have fun!! wink

665

(4 replies, posted in General)

I may have misunderstood the purpose of your project, sorry smile

666

(5 replies, posted in SQL queries)

There is a very interesting solution in this topic: http://myvisualdatabase.com/forum/viewt … p?id=1484. Reply 13
You would not have to use any SQL query at all


Otherwise a join is done using a relationship field in the tables

For example

Author                                   Origin                                            Title
id                                           id                                                   id
Name                                    Country                                         Title
Title                                       id_Name                                       Year
                                                                                                   id_Name
                                                                                                   id_Country


Select Title, Country, Name

from Title,
Author a,
Origin o
where
id_Name=a.id
and id_Country=o.id
and Title=something

But honestly, the solution from derek is the simpliest one

667

(4 replies, posted in General)

I think both application could be unified using tabs or forms and removing the letters could be done by script. There is no need for manual action and it is boring doing so!

668

(15 replies, posted in General)

Hi Derek,

the idea is there, thanks for the project.

The best would still be the "Wizard" mode where the user is guided through steps to limit input errors. I got feedbacks from the users after a beta release that there would be more tables, relations and fields needed...

669

(15 replies, posted in General)

Hi everyone,


@mr_d, the idea is there, I couldnot see any other option up to now and I wrote some scripts to achieve a beta version which, at least retrieves the correct information.

@derek, the use of the "Form1_TableGrid4_OnClick" procedure, a mix of search between grids and buttons and hidden comboboxes is very clever, I did not know these properties as it would have saved me a lot of time writing scripts. I will try to implement these features the best I can as quickly find the right info is the aim of this application. Thanks a lot.


My main concern would still to create some kind of wizard when it comes to input raw data to avoid people entering the wrong information into the wrong field.

The algorithm I imagine is:

User clicks on "Add" ---> pop-up with whether a droplist or radio button to select 1 kind of information ---> proper form displayed

I guess it can only be done by scripts but I am not affraid smile

670

(15 replies, posted in General)

It is very tricky actually to get multiple information which are linked by a key from different sources and display the required information separately.

It is much easier in a simple grid with an SQL query but here, the information must be displayed separately to get clear information on each level.



Please find a picture of what I mean by getting information from another grid automatically, the arrow indicates the source of the information (the key)

671

(15 replies, posted in General)

but how do I retrieve the information in Grid 2 whitout selecting a row in grid 1.

I would like an automatic display of all requested information in different grids but I do not know how to get it working.

I use a script to retrieve information based on a TextBox, how could I do the same with a grid?

672

(15 replies, posted in General)

Another question is, how to query information using results displayed in a grid on same form? I already use the script to get the info from a textbox but here, I am stuck.

In short, how to get info in Grid 2 (query in table X) based on information stored in Grid 1 (using query in table Y) sharing an id.key in Grid 1

Grid 1                        Grid 2


A                               Blue
B                               Green
C                               Yellow
D                               Red
E                               Cyan

673

(15 replies, posted in General)

Hi,

actually, I am looking for a way to be able to choose from a droplist which form to display when the user wants to input data in a specific field.


It would be like a combobox referring to a form in the project. Doing so, it would limit the input errors.

Let say on home page, I have a search engine and a button "ADD", when clicking on "ADD", I would like to be able to choose which information to add using a droplist , then click, OK and the proper form displays.

To give you an idea of how I am drawing it currently, please see attached picture. Each line on the screenshot is a separate information, links are made using keys in DB.

674

(14 replies, posted in General)

Thank you for the explanation Dmitry, much appreciated.

675

(15 replies, posted in General)

To be clear with this subject, it is regarding a pharma dev center for a major pharma group... They just struggle in finding the right information correlated with another one... thanks to Excel spreadsheets (like ....shxt)