Jump to content

Recommended Posts

Hello everyone, i found some similar topics about passwords but they did not help me, so i decided to start this one.

What i'm trying to do is make multiple access levels. So i need 17 passwords, first i was trying to make legal entries as vector of DW operands, but it seems that it works only for one operand which sits in DW20. Here is screenshot.

 Password.png.799c5ad5a8541c38cae33a5db0098e3a.png

(Yes, i linked MB13 to legal entry, not on this screenshot, but in project)

After that i was trying to link it to data table, but it did not work  for me

Password_2.png.1086ad85ece4dbf0c99618359f495809.png

Password_3.png.a19c99dfdf1b9dc47c87fd2df1fb951f.png

In data tables there are no IDs, just passwords, so there is only one column.

So, basically, my goal is to press on Variable: Password button, enter some numbers and i was trying to get 2 results:

1. It will find it in data table, get the row number and i will compare it with one of my constants to get the proper access level or other option, or

2. Input password will compare the vector of password DW20-DW36 with some DW20/21/22... to get proper access level or other option.

Sorry, that is my first project and i think that is kinda similar question, but still got some trouble with it.

If you need, i can link my project, but the problem is that it's all in russian language, so you probably won't understand anything in it and also i'm almost non-stop changing some stuff trying to figure out passwords logic.

And sorry for bad english, it's not my native language.

Thank for help

 

 

Well, somehow i made it work with Variable: Numeric, loading some numeric value, comparing it with data table value, getting row number and then comparing it with some constant 

But anyway, for my future projects - is that possible to make similar thing with Variable: Password?

 

Share this post


Link to post
Share on other sites
On 12/4/2019 at 1:41 AM, Pavel M said:

Well, somehow i made it work with Variable: Numeric, loading some numeric value, comparing it with data table value, getting row number and then comparing it with some constant 

But anyway, for my future projects - is that possible to make similar thing with Variable: Password?

This is exactly what I had to do with Visilogic in an application that had multiple users with a couple of different access levels.  As you've figured out, it wasn't the easiest thing in the world. 

UniStream addresses this with User Access Control that has 16 levels, 16 groups and 128 users.  If this is really important to your project you may need to switch platforms.  If you haven't already downloaded UniLogic I'd recommend doing so and having a look.

Joe T.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...