A andi New member Local time Today, 19:26 Joined Apr 20, 2016 Messages 8 Apr 20, 2016 #1 how and where if we want to make Event when next record,?
arnelgp ..forever waiting... waiting for jellybean! Local time Today, 20:26 Joined May 7, 2009 Messages 20,371 Apr 20, 2016 #2 do you mean goto next record: docmd.GoToRecord ,,acNext
A andi New member Local time Today, 19:26 Joined Apr 20, 2016 Messages 8 Apr 20, 2016 #3 i mean, i have maked a unload Event for validation before close form, but it is not availalbe for next record. example; i have a form that have to fill a "textbox1" if textbox1 is null will show a message box i write macros on unload Event like this. IF Isnull(textbox1) or [textbox1] = "" then messagebox: prompt: "xxxxxxxxxxxx" beep : Yes Type : Warning Titel : Warning cancel Event end if so that not available for next record how and where i have to write a macro if i want it available for next record too.. im sorry my speak english is bad. thank you
i mean, i have maked a unload Event for validation before close form, but it is not availalbe for next record. example; i have a form that have to fill a "textbox1" if textbox1 is null will show a message box i write macros on unload Event like this. IF Isnull(textbox1) or [textbox1] = "" then messagebox: prompt: "xxxxxxxxxxxx" beep : Yes Type : Warning Titel : Warning cancel Event end if so that not available for next record how and where i have to write a macro if i want it available for next record too.. im sorry my speak english is bad. thank you
G Galaxiom Super Moderator Staff member Local time Today, 22:26 Joined Jan 20, 2009 Messages 12,895 Apr 20, 2016 #4 The Form Before Update Event fires before the current record is committed.
A andi New member Local time Today, 19:26 Joined Apr 20, 2016 Messages 8 Apr 20, 2016 #5 if i write thats macro to before update Event, when i klik close button, after msgbox showed will show warning save prompt like this attachment Attachments warning close.png 5.5 KB · Views: 119
if i write thats macro to before update Event, when i klik close button, after msgbox showed will show warning save prompt like this attachment
A andi New member Local time Today, 19:26 Joined Apr 20, 2016 Messages 8 Apr 20, 2016 #6 or, may be, anybody can help me how to show msgbox validation for textbox1 (or one of textboxs) in macro not in VBA when close, next record, previous record, print, or save
or, may be, anybody can help me how to show msgbox validation for textbox1 (or one of textboxs) in macro not in VBA when close, next record, previous record, print, or save
P prowaseem New member Local time Today, 05:26 Joined Apr 20, 2016 Messages 5 Apr 21, 2016 #7 can you be more specific plz ? i dont understand what you asked, and all the answers too that everyone gave you in this forum !
can you be more specific plz ? i dont understand what you asked, and all the answers too that everyone gave you in this forum !