Search found 5 matches

by Skynet_IV
Sat Nov 17, 2018 7:16 pm
Forum: Database Related
Topic: Sql code is not working correctly
Replies: 6
Views: 941

Re: Sql code is not working correctly

Yes, This can be possible solution for me. Thanks a lot both for answers.

Now if you wish to delete this topic as its not related to wxWidges, you can delete it. :)
by Skynet_IV
Sat Nov 17, 2018 5:11 pm
Forum: Database Related
Topic: Sql code is not working correctly
Replies: 6
Views: 941

Re: Sql code is not working correctly

You are right ONEEYEMAN. I am sorry for this, I am new here. I just wanted to kindly ask here for help as I am registered here. I have No problem with deleting this topic after that. Clarification: wxString sql88; sql88.Printf("update players set goals = goals +1 where id_player in (1,2,2,1,8,9...
by Skynet_IV
Fri Nov 16, 2018 6:51 pm
Forum: Database Related
Topic: Sql code is not working correctly
Replies: 6
Views: 941

Sql code is not working correctly

Hello All, I have little problem with my code and i need advice how to make it work right way. In my code i am collecting IDs to array in loop. Final array is transformed to string "scorersStr" and can looks like here {1,2,2,1,8,9,5,2} Finally I am increasing values for this IDs wxString s...
by Skynet_IV
Mon Oct 22, 2018 8:31 pm
Forum: C++ Development
Topic: Array of radiobuttons, identify selected RB and get ID value
Replies: 4
Views: 187

Re: Array of radiobuttons, identify selected RB and get ID value

Thanks a lot for advices. I finally used wxRadioBox instead of wxRadioButtons. After Button1Click, I get id of selected RadioButton, this help me to get team name and I used team name to get desired TEAM ID from DB. Its quite long way, but this works. ====================================== here is p...
by Skynet_IV
Sun Oct 21, 2018 7:56 pm
Forum: C++ Development
Topic: Array of radiobuttons, identify selected RB and get ID value
Replies: 4
Views: 187

Array of radiobuttons, identify selected RB and get ID value

Hello, I am working on C++ program using Code::Blocks and wxwidgets,wxSQLite3. I am currently creating form, where user can select fotball team. Teams are generated from sqlite DB. All should be finally confirmed by clicking on button. I have problem with event OnButton1Click. I dont know how to ide...

Go to advanced search