FahadTiger
Member
- Local time
 - Today, 12:57
 
- Joined
 - Jun 20, 2021
 
- Messages
 - 120
 
Hi...
I have a customerNamer field in the main form ..When the user makes a mistake and does not enter the customer name... Of course the ID of the main form does not change And when I enter the itemName in the subform... Then I notice that I did not enter the customer name in the main form ..When I enter the customer name to give me New Record... All records of the subform will be deleted ..Of course I had to make the focus when loading the form on the itemName in the subform...But the problem is that it does not give me a new record number in the main form unless I enter the customer name...Of course this is correct... It does not give a new number except through a text box from the same mainform ..Should I use Dlast and not GotoNewRecord Or is there another solution?
thank you so much..
 I have a customerNamer field in the main form ..When the user makes a mistake and does not enter the customer name... Of course the ID of the main form does not change And when I enter the itemName in the subform... Then I notice that I did not enter the customer name in the main form ..When I enter the customer name to give me New Record... All records of the subform will be deleted ..Of course I had to make the focus when loading the form on the itemName in the subform...But the problem is that it does not give me a new record number in the main form unless I enter the customer name...Of course this is correct... It does not give a new number except through a text box from the same mainform ..Should I use Dlast and not GotoNewRecord Or is there another solution?
thank you so much..