B2024-085 Fix Object Reference Error when Getting Schema for a RO database in SQL
After converting the Robinson ROs to SQL, upon changing an In Use field and clicking Continue, an "Error on Schema" message box displayed with an unhandled error exception.
This commit is contained in:
parent
43b13443ab
commit
0c342fa188
@ -1921,7 +1921,7 @@ namespace RODBInterface
|
|||||||
command.Parameters.AddWithValue("@RecID", Recid);
|
command.Parameters.AddWithValue("@RecID", Recid);
|
||||||
using (SqlDataReader reader = command.ExecuteReader())
|
using (SqlDataReader reader = command.ExecuteReader())
|
||||||
{
|
{
|
||||||
if (DBE.Read())
|
if (reader.Read())
|
||||||
Info = reader.GetString(0);
|
Info = reader.GetString(0);
|
||||||
else
|
else
|
||||||
Info = null;
|
Info = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user