cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AlesonITC
Level: Powered On

Error with form when user try to insert on future date.

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
AlesonITC
Level: Powered On

Re: Error with form when user try to insert on future date.

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

View solution in original post

3 REPLIES 3
Eickhel
Level 8

Re: Error with form when user try to insert on future date.

Hi,

 

Could you please let us know the error the users are getting?

Community Support Team
Community Support Team

Re: Error with form when user try to insert on future date.

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

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
AlesonITC
Level: Powered On

Re: Error with form when user try to insert on future date.

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

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,035)