cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tuanduong
Frequent Visitor

Error about type between "Number" and "Text"

Hello everyone, 

I'm building my first power apps and using button to pickup all information from Collection to sharepoint list...but I got the error like the picture below and cannot finish my action. I try to change the type of "order quantity" from Text to Number, but it's still not working ( I'm using Textinput with "TextFormat.Number"). When I remove "order quantity" out of my button code, it works as normal.

Do you have a experience about that? Could you share me the solution to handle this error?

 

Tuanduong_1-1650427416214.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Try this:

'Order Quantity': TextInput1.Text

Or

'Order Quantity': Value(TextInput1.Text)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

View solution in original post

2 REPLIES 2
eka24
Super User
Super User

Try this:

'Order Quantity': TextInput1.Text

Or

'Order Quantity': Value(TextInput1.Text)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

Tuanduong
Frequent Visitor

Thanks, the code: 'order Quantity': Value(Textinput1.Text) works for me....I tried  "order quantity": Textinput1.Text before but it's error. Actually, in another situation I usually use Texinput1.Text and it process successfully 

Thank again!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,292)