G Guest Sep 1, 2006 #1 Is there any way to make custom data type in access? I need to show the time only Octet32
D Duane Hookom Sep 1, 2006 #2 To "show the time only", set the control format to a time format. You don't need (and can't create) a custom data type.
To "show the time only", set the control format to a time format. You don't need (and can't create) a custom data type.
G Guest Sep 2, 2006 #3 Look at the date/time functions. In this case, the TimeValue function might serve your needs. Barry
J Jamie Collins Sep 5, 2006 #4 Duane said: To "show the time only", set the control format to a time format. You don't need (and can't create) a custom data type. Click to expand... You can sort of achieve this with validation rules, more 'hybrid' than 'custom'. The DATETIME data type allows time elements; to prevent the time element, the validation rule could be: HOUR(effective_date) = 0 AND MINUTE(effective_date) = 0 AND SECOND(effective_date) = 0 Merely not showing the time element could hide a problem; preventing time elements would avoid such a problem. Jamie. --
Duane said: To "show the time only", set the control format to a time format. You don't need (and can't create) a custom data type. Click to expand... You can sort of achieve this with validation rules, more 'hybrid' than 'custom'. The DATETIME data type allows time elements; to prevent the time element, the validation rule could be: HOUR(effective_date) = 0 AND MINUTE(effective_date) = 0 AND SECOND(effective_date) = 0 Merely not showing the time element could hide a problem; preventing time elements would avoid such a problem. Jamie. --