Babycat
Member
- Local time
 - Today, 10:14
 
- Joined
 - Mar 31, 2020
 
- Messages
 - 291
 
Hi Everyone
My table TBLPRODUCT have a number of records.
I want to addnew record but it requires to open form FrmProduct with full records from table.
So I tried with code:
	
	
	
		
You can imagine it requires two steps: Open and display first record, then go to new record. This makes form flashing.
I dont want to use
	
	
	
		
becasue it does not load other existing records into form.
I have tried DoCmd.Echo false (then true) but it did not work.
May anyone help to advise a solution?
Thank you!
 My table TBLPRODUCT have a number of records.
I want to addnew record but it requires to open form FrmProduct with full records from table.
So I tried with code:
		Code:
	
	
	DoCmd.OpenForm "FrmProduct"
DoCmd.GoToRecord acDataForm, "FrmProduct", acNewRec
	You can imagine it requires two steps: Open and display first record, then go to new record. This makes form flashing.
I dont want to use
		Code:
	
	
	DoCmd.OpenForm "FrmProduct", , , , acFormAdd
	I have tried DoCmd.Echo false (then true) but it did not work.
May anyone help to advise a solution?
Thank you!