326

(1 replies, posted in General)

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

327

(12 replies, posted in General)

DriveSoft wrote:

I still working on a new documentation for MVD.

Wow. Looking forward on the new development of MVD. <3
Is there an estimated date of releasing it?

328

(6 replies, posted in SQL queries)

When it comes to data protection, tcoton is right. Using sqlite as your database might compromise personal data if not stored or protected right. Encrypting your database is one way but might cost you a little bit. I'm not familiar with GPDR but doing some research, I run on some  issues.

Encryption is the best way to protect data during transfer and one way to secure stored personal data. It also reduces the risk of abuse within a company, as access is limited only to authorized people with the right key

. You can also encrypt fields (personal information) saved on your database (retrieving and storing might be tricky but attainable).

329

(3 replies, posted in General)

I think passing object value to combobox filter is not yet supported. I've used the dbSQLExecute and/or changing Combobox.dbFilter via script in my projects.

330

(3 replies, posted in General)

I think you should do it with sql script something like

Combobox.dbSQLExecute('SELECT id,name FROM customer where id_company='+IntToStr(frmWelcome.TableGrid1.dbItemID))

and place it on the OnShow of the form.

331

(4 replies, posted in General)

derek wrote:

Hi EHW, Brian,
Thanks for the comments and attachment.
I've no problem with using a script but not for something that should (in my view) be part of the standard product.
It's a shame because this (and a couple of other things) prevent the 'editable tablegrid' feature from being as useful as it should be.
Derek.

Hope MVD team respond with the issue. I haven't seen post of 'em lately.

332

(12 replies, posted in General)

v_pozidis wrote:
brian.zaballa wrote:

You need to populate the component table with the same order of that array of Buttons.

You can use database GUI for that such as navicat(paid software) or DBBrowser, etc. for you to populate it

Or you can use the import function of MVD. See import.png on the zip. I created components.csv based on your array. Make sure to Clear the Component first before doing an import. You can skip the 4th column of the csv for it is your reference. You can edit Column 2 and 3 for the benefit of your users. So that they can easily understand what to give access to other users.

Thank's again. I have read your script and every time I found it interesting. You have gave me in your answers  different  solution. I can say that the last one was much more difficult, but works. I am wondering isn't there a easy way ?

My pleasure. That's the easiest way I can think about for now. Hoping that MVD Team add feature like that.

333

(12 replies, posted in General)

You need to populate the component table with the same order of that array of Buttons.

You can use database GUI for that such as navicat(paid software) or DBBrowser, etc. for you to populate it

Or you can use the import function of MVD. See import.png on the zip. I created components.csv based on your array. Make sure to Clear the Component first before doing an import. You can skip the 4th column of the csv for it is your reference. You can edit Column 2 and 3 for the benefit of your users. So that they can easily understand what to give access to other users.

334

(4 replies, posted in General)

I think it is a bug. I hope MVD do some updates and include this one. For now, I think trigger will be one solution for the problem. It uses script tho

335

(12 replies, posted in General)

Make sure that the order of the buttons/components in your database is the same in the button array from script

 ButtonArr : Array of TdbButton = [Form2.Button1, Form2.Button2, Form2.Button3, Form2.Button4, Form2.Button5, Form2.Button6, Form2.Button7, Form2.Button8];

336

(12 replies, posted in General)

v_pozidis wrote:
brian.zaballa wrote:

Here's a sample.

Hi , I have copy/paste your script in my software but in the Access form it does't show the Buttons. I have no idea why?Can you please help me to find my error ?

You need to update the database. In there you have to indicate the buttons you want to give access to the users

337

(9 replies, posted in General)

papafrankc wrote:

Brian,
Thanks for your reply
-
I added a calculated field named calcCellPhone to the Contacts table.  When I go to open up the Contacts Form I still get the same error.
-
FYI I also have a cell phone field in the Users table so eventually I would like to format that field like the calcCellPhone in the contacts table.
-
From my trial and error it appears that if I add a new calculated field to either Users or Contacts it fails.  Even if I don't do anything with the new field.  Just adding it to an existing table makes it fail.
-
I have a lot of test data in my tables.  Could that have any impact on adding a new field?
-
Thanks, Frank

If you copy the calculated Derek and I used, we use phone there for it is the field on our database. on User for Derek. on Contacts for me. You need to replace it of the field on your table. in your case,  change phone from User's calculated to CellPhone and change phone from the Contact's calcCellPhone to cCellPhone.

For User, something like

'('||substr(CellPhone,1,3)||')'||substr(CellPhone,4,3)||'-'||substr(CellPhone,7,4)

and for Contacts

'('||substr(cCellPhone,1,3)||')'||substr(cCellPhone,4,3)||'-'||substr(cCellPhone,7,4)

Adding calculated fields or other fields won't affect your current data. MVD will automatically populate the table with your existing records

338

(9 replies, posted in General)

I think you need to put the calculated on Contacts table and use the cCellPhone. But why you have to put CellPhone field on Users and have children Contacts? If your database design is a user having one or more contacts, Contacts table as children is enough.

339

(12 replies, posted in General)

Here's a sample.

340

(12 replies, posted in General)

I've fixed the database. You can also move the code from Form2.Onshow to Form1.Onshow for it to run just once and not when opening the form2

341

(12 replies, posted in General)

Here's some changes

Maybe you can upload here a part of your project with the grid you want to have a delete property. Someone might help you.
- create a new project
- create a table that connects to the grid
- copy the form / component with the grid

343

(4 replies, posted in General)

You mean the Admin User can set the access and not by the developer right?

I think, best way to do is:
- List down and plan thoroughly buttons or modules you want other user to access, then store it in database.
- Do it with script

I made some script, compiled it in version 6.4-beta. I hope it gives you an idea on how to work on your project. Cheers!

Filtered data is ok after delete. OnChange Of the grid will do the trick on updating other grid.

345

(4 replies, posted in General)

Just Just use the Role Option in the Button's Properties

346

(8 replies, posted in General)

Tried reinstalling 6.3. It seems working to me.

347

(8 replies, posted in General)

My bad. I'm using 6.4-beta. You don't want to update yours? I tried reinstalling 6.3. It seems working to me.

348

(8 replies, posted in General)

It is also available in Options

349

(8 replies, posted in General)

Just use the form provided by mvd in creating users. It is accessible by Administrator users

350

(3 replies, posted in General)

Just Drag the Form4 to Form1