Z
Zanstemic
I have a command button with a macro that opens a form and than does a
GoToRecord New. It has 4 fields
1) Auto Number (Primary Key and auto increments in system)
2) Date (defaults to now() )
3) Increment number (defaults to the number of records for that day)
4) Case Number (defaults to the combination of Date and Increment Number)
It's all working fine, except I can't figure out how to get the record to
auto save. I've tried a number of Docmd.Save or Requiry or macro saves, etc.
It seems that until I actually type something in the form, the Primary Key
which is an auto number for the record does not get created. Once I type in
any field, the Auto Number is created and funtions normally.
Any suggestions are appreciated.
GoToRecord New. It has 4 fields
1) Auto Number (Primary Key and auto increments in system)
2) Date (defaults to now() )
3) Increment number (defaults to the number of records for that day)
4) Case Number (defaults to the combination of Date and Increment Number)
It's all working fine, except I can't figure out how to get the record to
auto save. I've tried a number of Docmd.Save or Requiry or macro saves, etc.
It seems that until I actually type something in the form, the Primary Key
which is an auto number for the record does not get created. Once I type in
any field, the Auto Number is created and funtions normally.
Any suggestions are appreciated.