Hi, I want to create a string i.e. strFaultid as a result of an sql query.
The SQL returns a value dependent on the input of the user in the previous form. The SQL statement is as follows:
Select faultid from fault where category=""&strCategory&"" and category_sub=""&strCategory_sub&""
The category and category_sub strings are passed in from the previous form. I would like to create a faultid string as a result of this query so I can populate a table with the value.
Any help is appreciated.
The SQL returns a value dependent on the input of the user in the previous form. The SQL statement is as follows:
Select faultid from fault where category=""&strCategory&"" and category_sub=""&strCategory_sub&""
The category and category_sub strings are passed in from the previous form. I would like to create a faultid string as a result of this query so I can populate a table with the value.
Any help is appreciated.