ccountey
New member
Here is my situation:
My company purchased an application to track the technical needs of our employees. It's a help desk solution that displays work orders in a table that can be sorted, customized, etc. The tables in the application are just views of SQL tables, views, and queries.
The application did not have a way to track real time so I built an application that captures this information using the Timer in VB.net and writes the data into a new table I created within the previous application's database.
THE PROBLEM
I would like my application to have a "close work order" feature.
Application 1: The application we paid for
Application 2: The application I built
Both applications talk to the same SQL DB
Application 1 has a datagridview that displays work order data based upon various FillBy statements. I don't have the specifics of this information.
Application 2 has a similar datagridview that uses FillBy statements based on various controls on the form (FillByLocation, FillByTechnician, etc.).
I have a button control on a form in Application 2 that updates the Status column of the TASKS table from a textbox control on the same form.
When the Status = "Completed", I want the work order to become completed in all aspects in both applications. Within Application 2, the work order disappears from the open work orders FillBy parameter.
However, the work order remains in a "Pending" state in Application 1, so it still shows up to the technicians as a work order that needs attention.
Within the SQL DB, there are the following Tables:
TASKS: Shows the work orders and their statuses
...and the following Views:
vTasks_Grid_Search
vTasks_Grid
vTasks_Browse
Application 1 uses these views, Application 2 does not.
I'm a beginner at this, but I'm assuming that these views control what the technician sees based upon their login names and the statuses of work orders within the TASKS table.
How can I update these views (queries) using my application (Application 2)?
Thanks for reading and please let me know if you need additional information.
My company purchased an application to track the technical needs of our employees. It's a help desk solution that displays work orders in a table that can be sorted, customized, etc. The tables in the application are just views of SQL tables, views, and queries.
The application did not have a way to track real time so I built an application that captures this information using the Timer in VB.net and writes the data into a new table I created within the previous application's database.
THE PROBLEM
I would like my application to have a "close work order" feature.
Application 1: The application we paid for
Application 2: The application I built
Both applications talk to the same SQL DB
Application 1 has a datagridview that displays work order data based upon various FillBy statements. I don't have the specifics of this information.
Application 2 has a similar datagridview that uses FillBy statements based on various controls on the form (FillByLocation, FillByTechnician, etc.).
I have a button control on a form in Application 2 that updates the Status column of the TASKS table from a textbox control on the same form.
When the Status = "Completed", I want the work order to become completed in all aspects in both applications. Within Application 2, the work order disappears from the open work orders FillBy parameter.
However, the work order remains in a "Pending" state in Application 1, so it still shows up to the technicians as a work order that needs attention.
Within the SQL DB, there are the following Tables:
TASKS: Shows the work orders and their statuses
...and the following Views:
vTasks_Grid_Search
vTasks_Grid
vTasks_Browse
Application 1 uses these views, Application 2 does not.
I'm a beginner at this, but I'm assuming that these views control what the technician sees based upon their login names and the statuses of work orders within the TASKS table.
How can I update these views (queries) using my application (Application 2)?
Thanks for reading and please let me know if you need additional information.