its prevent add records at all ..Hi, and welcome to AWF!
Set the form to not allow new records.
i want to add records if i need that .. not to prevent add at allPlease provide a better explanation of your problem..
i want to add records if i need that .. not to prevent add at allSo switch it off and on as needed.?
i open datasheet as sub formYou can't have both without some form of control to switch between the two modes of operation.
How are you opening the datasheet form, from another form?
If so you can specify how the form opens - Adding new records, or not.
yeah .. i want to disable add new record automaticlyYou have the correct configuration of a Main Form with a Subform to add records.
The default blank new record line is how access works.
Why do you need to hide the blank new record line?
mmm .. thanks for your kind effortsAs it has been explained earlier, Access will not do that for you.
i want after i add all data i need not to appear new record .
i want after i add all data i need not to appear new record .