Guest_imported
New member
- Jan 1, 1970
- 0
I have a month view conrtol on a form and a data enviroment connection to database where the user can save a message to a certain date (the date that user clicks)
What is code for Addnew? I have already:
DataEnvironment1.rsTable1.AddNew
but how do i write code to tell which textbox the message is coming from, ie
Someone tell me it is something like:
DataEnvironment1.rsTable1 = Text1.Text
but this not work.
Aslo if the user cliks any date on monthview, what is code for query on the database to call the saved message back into the textbox if one is saved for that date, please
i tried:
SELECT table1.date, table1.message FROM table1 WHERE table1.date = monthview1.value
Thank you
What is code for Addnew? I have already:
DataEnvironment1.rsTable1.AddNew
but how do i write code to tell which textbox the message is coming from, ie
Someone tell me it is something like:
DataEnvironment1.rsTable1 = Text1.Text
but this not work.
Aslo if the user cliks any date on monthview, what is code for query on the database to call the saved message back into the textbox if one is saved for that date, please
i tried:
SELECT table1.date, table1.message FROM table1 WHERE table1.date = monthview1.value
Thank you