Lookup field not writing correctly to database
Posted: Thu May 25, 2023 2:26 pm
Hello everyone,
I am working on a database for student results using NuBuilder, however, I am having a challenge with the lookup fields, and having searched the forum for a solution and not finding the solution I need, I decided to post this.
There are 3 lookup fields in my subform: one to look up ExamCode, another to look up Student MatricNo, and the last to look up the CourseCode. All are displaying correctly on the form. However, after saving, they only save one character to the database table, not the complete ExamCode, MatricNo and CourseCode. I've attached a screenshot of the form and the tables' structure and data.
I must have been missing something. It's a long time ago I'd written codes, nevertheless, with NuBuilder, I hope to create user-friendly forms for a start, before delving deeper. I will appreciate your assistance here to look into this. Screenshot attached.
I am working on a database for student results using NuBuilder, however, I am having a challenge with the lookup fields, and having searched the forum for a solution and not finding the solution I need, I decided to post this.
There are 3 lookup fields in my subform: one to look up ExamCode, another to look up Student MatricNo, and the last to look up the CourseCode. All are displaying correctly on the form. However, after saving, they only save one character to the database table, not the complete ExamCode, MatricNo and CourseCode. I've attached a screenshot of the form and the tables' structure and data.
I must have been missing something. It's a long time ago I'd written codes, nevertheless, with NuBuilder, I hope to create user-friendly forms for a start, before delving deeper. I will appreciate your assistance here to look into this. Screenshot attached.