Hi every body.
I have a "standard" browse with a "standard" form to update/insert.(C5ee)
When I create a new record, I need to know some values of the previous record of the file (for exemple the date "myfileateOestrus") to do some calcs in the form.
I try this way :
1°) put the browse procedure and the form procedure in the same module
2°) create a data "PreviousDateOestrus) in the module.
3°) assign the value myfileateOestrus to PreviousDateOestrus by putting the code "PreviousDateOestrus = myfileateOestrus" in the embed "End of format an element of the browse queue/Browse on Myfile".
It's work well but if I delete ALL the records, the "PreviousDataOestrus" data keep the value of the last record read and don't assign to 0.
May be it's not the good embed to do that?
Could you help me?
Thanks
I have a "standard" browse with a "standard" form to update/insert.(C5ee)
When I create a new record, I need to know some values of the previous record of the file (for exemple the date "myfileateOestrus") to do some calcs in the form.
I try this way :
1°) put the browse procedure and the form procedure in the same module
2°) create a data "PreviousDateOestrus) in the module.
3°) assign the value myfileateOestrus to PreviousDateOestrus by putting the code "PreviousDateOestrus = myfileateOestrus" in the embed "End of format an element of the browse queue/Browse on Myfile".
It's work well but if I delete ALL the records, the "PreviousDataOestrus" data keep the value of the last record read and don't assign to 0.
May be it's not the good embed to do that?
Could you help me?
Thanks