Set sched_code to same value/case as in SCHED_CODES.CODE

This commit is contained in:
Patrick Linstruth 2019-05-28 14:11:45 -07:00
parent f6fa420cfd
commit 20e6b3a72c

View File

@ -27,6 +27,14 @@
RDSchedCode::RDSchedCode(const QString &code)
{
sched_code=code;
//
// Get proper case for code
//
if(exists()) {
sched_code=RDGetSqlValue("SCHED_CODES","CODE",code,"CODE").
toString();
}
}