Adding Fields
Any ideas or top tips.
Many thanks
Any ideas or top tips.
Many thanks
Here's a rough outline for the back-end.
It may be helpful to create a second "development" version of TaskVisionWS to work on, so that you can refer to the original working version if you get confused while modifying your custom version.
If you create a second database, don't forget to add a user to the tables.
For the WS:
Update DataSetTasks.vb
Update DataSetTasks.xsd
Update DataService.asmx
Update DataSetProjectHistory.vb
Update DataSetProjectHistory.xsd
After you compile that, you should be able to test your work by attempting to browse DataService.asmx
You can then take a look at revising Stored Procedures before diving into the front end.
I wasn't thinking of the Stored Procedure ResetData.
Adapting that to changes in your database schema is definately a good bet.
I hope I didn't lead anyone down a difficult path.
Maybe I missed something when adding a field. The error is on the invoke line
Dim results() As Object = Me.Invoke("UpdateTasks", New Object() {ticket, projectID, dsTasks})
Here is what I did.
1.) Added the field to the SQL table Task.TaskRTF
2.) Updated the GetTasks procedures to include TaskRTF
3.) Updated the UpdateTasks procedures to include TaskRTF
4.) Updated the DataSetTasks.xsd
5.) Updated the WebReference in DataWs which added the fireld to DataSetTasks.xsd.
6.) In the DataService.asmx if I preview Data I see the field TaskRTF
7.) Added the field to EditTasks form.
8.) Run / Edit Task / Click OK / Error!
What am I missing.
Thanks...
- jim