1

(4 replies, posted in General)

derek wrote:

Hi,
Try having a look within the script editor for a definitive list of available classes and functions (see attached screenshot).
It's where I've always gone to find out if something is supported or not. 
After that, if I can't work out how to apply it, I just put the function or class name into the search function within the Forum and see what comes up.
If I still haven't got the answer, I then just post to the Forum and invariably someone will have a suggestion.
Derek.

Hello Derek,

Thanks so much for your reply.

Have you tried calling a function from external DLL?

2

(4 replies, posted in General)

Hi Derek,

Thanks so much for your time and effort to explain me how to do the Record Level security. I checked your code and really didn't think of using invisible control bound with the "user id" and setting its property dynamically using code. Code is simple to follow too.

This certainly solves my problem. Thanks so much!

------

Just to know, where can I read the complete reference manual for MVD? I checked the Book, but that is more like hands-on learning kit. Is there any CHM or any Help Manual in PDF which will give me a complete list of Classes, Functions etc?

------

Also, does MVD Pascal Script support ShellExecute commands and using external DLL functions? This will give me more flexibility to extend the functionality of MVD application through C/C++ or C# DLLs.

What you're looking for is called "Web Scrapping".

You will need to perform HTTP POST in order to perform Web Search and then HTTP GET to get the entire data returned by the Web Server. Once you have the data in text format, you may start parsing it for the Book Information. Usually RegEx is used for this; but if the text is not too complex, you can always use the String Operation functions to extract the desired chunks of the information.

Having said that, I'm not sure how to do this in MVD, but this may give you get started and look for the solutions coded in Pascal Script.

Good Luck.

4

(4 replies, posted in General)

I'm trying to build a simple Password Manager for my own purpose. I have created two Users, one for me and one for my daughter.

When I create new record, I want the currently Logged-In User's ID should be saved to the column, "owner" automatically.

This way, I was planning to filter out the Records while showing in Table Grid; setting the Filter to "owner" = "current user id".

So, yes; my next question is, how to get current logged-in User's ID and set it in filter.

This is pretty common use-case in multi-user database applications, where we show the entries only relevant to the specific User. For that, we need to be able to filter out the entries based on certain User Identifier, in my case, I want to use User ID (or Username, whatever stays unique throughout the lifecycle of the software).

I'm new to MVD, but it's already looking like a very useful tool.

Waiting for your reply...

Cheers,