Zydeceltico
Registered User.
- Local time
- Today, 15:24
- Joined
- Dec 5, 2017
- Messages
- 843
Hi All -
I've inherited management of a legacy DB at work. The DB was created by a gentleman who is of course no longer with us. On top of that his naming conventions leave quite a lot to be desired and the DB itself is ponderous to put it lightly.
In any regard, I have a form (Calibration Input Form) that has a subform (Calibration Input Subform) on it. On the subform is a text box named "Recalibration Due Date." This is a calculated field. He used an expression for the calculation.
The expression is: =[Format$]([Calibration Date]+[Frequency Number],"mmmm yyyy").
When the main form is opened the textbox "Recalibration Due Date" shows "#Name?" instead of a date value.
The Record Source on the subform's property sheet shows: SELECT [Calibration Device Table].[Frequency Number], [Calibration Results Table].ID, [Calibration Results Table].[Device Number], [Calibration Results Table].[Calibration Results], [Calibration Results Table].[In Tolerance?], [Calibration Results Table].
The Record Source on the main form's property sheet shows:
If someone can tell me how to strip bulk from the db, to get it to a manageable attachment size, I will attach it to a post.
Thanks,
Tim
I've inherited management of a legacy DB at work. The DB was created by a gentleman who is of course no longer with us. On top of that his naming conventions leave quite a lot to be desired and the DB itself is ponderous to put it lightly.
In any regard, I have a form (Calibration Input Form) that has a subform (Calibration Input Subform) on it. On the subform is a text box named "Recalibration Due Date." This is a calculated field. He used an expression for the calculation.
The expression is: =[Format$]([Calibration Date]+[Frequency Number],"mmmm yyyy").
When the main form is opened the textbox "Recalibration Due Date" shows "#Name?" instead of a date value.
The Record Source on the subform's property sheet shows: SELECT [Calibration Device Table].[Frequency Number], [Calibration Results Table].ID, [Calibration Results Table].[Device Number], [Calibration Results Table].[Calibration Results], [Calibration Results Table].[In Tolerance?], [Calibration Results Table].
The Record Source on the main form's property sheet shows:
Code:
SELECT [calibration device table].[frequency number],
[calibration results table].id,
[calibration results table].[device number],
[calibration results table].[calibration results],
[calibration results table].[in tolerance?],
[calibration results table].[calibration date],
[calibration results table].[recalibration due date],
[calibration results table].comments,
[calibration results table].initials,
[calibration results table].[has tool soaked?],
[calibration results table].[calibration test point 1],
[calibration results table].[calibration result 1],
[calibration results table].[calibration test point 2],
[calibration results table].[calibration result 2],
[calibration results table].[calibration test point 3],
[calibration results table].[calibration result 3]
FROM [calibration device table]
LEFT JOIN [calibration results table]
ON [calibration device table].[device number] =
[calibration results table].[device number]
ORDER BY [calibration results table].[calibration date] DESC;
If someone can tell me how to strip bulk from the db, to get it to a manageable attachment size, I will attach it to a post.
Thanks,
Tim