327 2020-09-01 13:23:05
Re: MVD (12 replies, posted in General)
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 2020-09-01 03:07:17
Re: SQL Injection Prevention (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 2020-09-01 01:59:42
Re: ComboBox Filter with Variable or ObjectID Value (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 2020-08-31 22:45:55
Re: ComboBox Filter with Variable or ObjectID Value (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 2020-08-30 17:59:18
Re: Editable Grid and Counter (4 replies, posted in General)
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 2020-08-30 16:55:01
Re: acces for some buttons !HELP!!!! (12 replies, posted in General)
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 2020-08-30 11:17:28
Re: acces for some buttons !HELP!!!! (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 2020-08-30 09:21:41
Re: Editable Grid and Counter (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 2020-08-30 08:27:45
Re: acces for some buttons !HELP!!!! (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 2020-08-30 08:17:20
Re: acces for some buttons !HELP!!!! (12 replies, posted in General)
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 2020-08-29 03:32:16
Re: Fast Report Phone # (9 replies, posted in General)
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 2020-08-29 01:07:38
Re: Fast Report Phone # (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 2020-08-28 07:18:43
Re: acces for some buttons !HELP!!!! (12 replies, posted in General)
Here's a sample.
340 2020-08-27 12:41:47
Re: acces for some buttons !HELP!!!! (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 2020-08-27 12:23:01
Re: acces for some buttons !HELP!!!! (12 replies, posted in General)
Here's some changes
342 2020-08-26 21:47:22
Re: Updating a tablegrid after deleting an entry via context menu (3 replies, posted in General)
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 2020-08-26 13:58:56
Re: give access for other users in buttons (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!
344 2020-08-26 12:17:11
Re: Updating a tablegrid after deleting an entry via context menu (3 replies, posted in General)
Filtered data is ok after delete. OnChange Of the grid will do the trick on updating other grid.
345 2020-08-26 12:03:46
Re: give access for other users in buttons (4 replies, posted in General)
Just Just use the Role Option in the Button's Properties
346 2020-08-25 17:32:30
Re: Roles (username/password) (8 replies, posted in General)
Tried reinstalling 6.3. It seems working to me.
347 2020-08-25 17:28:20
Re: Roles (username/password) (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 2020-08-25 16:39:27
Re: Roles (username/password) (8 replies, posted in General)
It is also available in Options
349 2020-08-25 16:37:04
Re: Roles (username/password) (8 replies, posted in General)
Just use the form provided by mvd in creating users. It is accessible by Administrator users
350 2020-08-24 13:35:46
Re: Change of starting form (3 replies, posted in General)
Just Drag the Form4 to Form1