PC Review


Reply
Thread Tools Rate Thread

Pausing or Suspending code

 
 
=?Utf-8?B?VHlsZW5kYWw=?=
Guest
Posts: n/a
 
      13th Jul 2005
Hi..

Im working in Access 2000 and have created code as part of the Onclick Event
Procedure. Within this code I open a form that requires the user to make a
selection. The selection passes back to the form where the OnClick event
originated. The problem is my OnClick code does not wait for the
information. Is there a way to force my OnClick code to wait for the needed
information before resuming.

Appreciate your assistance.

Fred Alyea

 
Reply With Quote
 
 
 
 
Marshall Barton
Guest
Posts: n/a
 
      13th Jul 2005
Tylendal wrote:
>Im working in Access 2000 and have created code as part of the Onclick Event
>Procedure. Within this code I open a form that requires the user to make a
>selection. The selection passes back to the form where the OnClick event
>originated. The problem is my OnClick code does not wait for the
>information. Is there a way to force my OnClick code to wait for the needed
>information before resuming.



Open the second form in Dialog mode to make you code pause
until the form is closed or becomes invisible.

--
Marsh
MVP [MS Access]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Temporarily Suspending Worksheet_Change() until other code is run. andym Microsoft Excel Programming 4 5th Feb 2006 03:40 PM
Suspending code for form input =?Utf-8?B?TWljaGFlbA==?= Microsoft Access VBA Modules 4 28th Oct 2005 05:31 PM
suspending execution of code until control is returned Frank Microsoft Access Form Coding 3 2nd Jun 2004 12:30 PM
suspending code in a form Chris B. Microsoft Access Form Coding 2 13th Oct 2003 04:18 PM
Suspending user accounts Kyle Windows XP General 3 2nd Aug 2003 05:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:51 PM.