How to store button value in database...?

Hello Friends, I need One Help…:pray

Sorry for My English is not good…

Today My Project stuck… I Confuse What I do…?

My Project is base on Attendance Management System… I need Solution of

When I Press Attendance Button here I give Number Like (1,2,3…100) then Button text (1) and Button Value (yes) are store into Database So how can I code these in button click…?

Step : Click on 1 > “1” save in DB > Value (yes) Save in DB > Successful Message Display…

is My project Functionality…Anyone have solution so please send me Code Screenshot or Replay me…

I am waiting for Your Replay…

Thank you,
Bhaumik

YOU should show us your blocks first! Then we can help you, I just don’t understand your issue. Please do what I said. Thx.

Yoshi

component_event
use this block for when button clicked and which db you are using???

yes we put block but I stuck in that here i send you Screenshot plz help me…

its my screenshot,

you are not proving any condition to if part…
therefore it will not work…

1 Like

IF socket has to be fitted.
Oic @nikzdreamer2001 was earlier… :laughing:

1 Like

would you like to send on screen initialization block and when row created part that we can understand the logic easily?

anyway for if block part make condition like this…
blocks

Here i am use Spredsheet for air table

Screen Initilization

Where is the if statement???

1 Like

hmm, I see…
i think you are creating new database everyday and also creating new row for every student(roll number)… in every db…
am i right???

i have provided it…
may be he will implement it later…
but right now its very strange for me that what logic he is using behind this attendance…

No Not Creating Every day database One database into store everyday day wise data like today total attendance is 25, yesterday 30.

oh you are storing total number of attendance

Yes I am beginner 11-05-202 I have to start Kodular and Develop Project…Previously never heard about it…Also not known this types of Language in the world.

:thinking: :thinking:

What is solution of my project use if statement or else…?

first of all i did not understand what you are trying…

just tell me if button text is 44(as you said it will be anything from 1 to 100) then what you want to store in database if button text is 44

If click on Button Then Button Text are “1” store in id ok… Then

button press down and its color change bcz button one store it’s value…then button set to read only then

Button ki value jo ander hey vo 1 store karegi like…


in hindi language

Case - 1 jo button 1 press hoto hey to database me id:1 or attendace me 1 aayega. or vo read only property set ho jayegi

Case - 2 Jo Button press nai hota hey to ushki data nai aayegi or data base me add nai hogi…


Condition*

Data base ek hi j hey…
Date wise Data aani chahiye…
Month ke last me total student ke days count hone chahiye…

Here Solution are Done Give Solution by @nikzdreamer2001 and give Suggestion @Yoshi Thanks for help me and give your useful time.

Thanks a lot :pray: :pray: :pray: