I just made an app that inserts data on SQL Server with a form, all works nice but SOME users get an error when they try to insert data on a future date, but they CAN insert data TODAY.
It's not a permission fault or an invitation fault, they can ONLY insert data today.
Any idea?
thx a lot, regards
Solved! Go to Solution.
I found the problem.
It was because they have got another Data region on their tablets and computers, so when they insert on same day we are, Getdate() is ok, but when I try to insert on a future data with my format, it couldn't insert. I changed the data type to UTC from local and it seems that it works.
Thx all, regards
Hi,
Could you please let us know the error the users are getting?
If you made the App directly from the Actual SQL table, then there should be no restrictions under the PowerApps side.
If users can't insert other data, then you need to check the restriction made under the SQL Server database side.
Besides, if you have the Field Card customized, then please share us the detailed configuration, we wil then take a further check on that.
Some more readings:
Validate function in PowerApps
Regards,
Michael
I found the problem.
It was because they have got another Data region on their tablets and computers, so when they insert on same day we are, Getdate() is ok, but when I try to insert on a future data with my format, it couldn't insert. I changed the data type to UTC from local and it seems that it works.
Thx all, regards
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
207 | |
187 | |
82 | |
54 | |
37 |
User | Count |
---|---|
288 | |
245 | |
119 | |
78 | |
55 |