hey guys,
im working on a small project that acts as a personal gym assistant as im also into lifting weights/ gym.
i have a small program with 1 forms (windows application) i have a database for this too to keep track of the different weight, reps, sets and progress and a selection of combo boxes to choose which exercise im doing ... nothing fancy or complex, just a simple app.
question is though i now want to add in something that i can type a note into and for this to be saved to the database as well .... i was thinking i could add in a label called "add note" then when i use the click event on that label it would open up a message box .. but i know i cannot write to a message box so what can i use instead? would it be another form ?
been tryign to figure out for a while but im stuck.
thanks
Loading
Sam HobbsPosted Dec 30, 2010, 5:13 AM
Sam HobbsPosted Dec 31, 2010, 9:39 PM
Suthish NairPosted Dec 31, 2010, 10:40 AM
Am accessing through mobile.
Sam HobbsPosted Dec 31, 2010, 9:53 AM
And just think about it. It is an extremely common dilemma; what happens when software drops support of something that other software uses?
Suthish NairPosted Dec 31, 2010, 9:48 AM
Sam HobbsPosted Dec 31, 2010, 9:23 AM
Suthish NairPosted Dec 31, 2010, 8:59 AM
Sam HobbsPosted Dec 31, 2010, 8:13 AM
Suthish NairPosted Dec 31, 2010, 5:06 AM
You can use nvarchar(max) or TEXT datatype
John BurnsPosted Dec 31, 2010, 3:37 AM
when i checjed this over there is no 'memo' data type when creating the table in the database.
any suggestions?
John BurnsPosted Dec 30, 2010, 6:59 AM
Will give this a try dude
John BurnsPosted Dec 30, 2010, 2:24 AM
the main form i have is split into different days/ dates as i have a date picker (think thats the correct name for it) the drop down menu that allows me to select dates. and on each date i list my exercises and have the option to add a note at the bottom. not really too sure on grids yet as i havent really covered them in much detail but the other one you suggested with adding a memo field when setting up the table in the data base?
Sam HobbsPosted Dec 29, 2010, 2:10 PM
The tricky part is if you want to show the records in a DataGridView or some other grid. You probably would prefer to have a Textbox in the form that is separate from the grid so you have more room for the notes.
So is your main form going to show only one record at a time or are you going to use a grid to show multiple records? My article Database Table Update in a DataGridView without Writing Code can help to make the programming easy.
FroglegPosted Dec 29, 2010, 11:06 AM