PC Review


Reply
Thread Tools Rate Thread

Call data collection form from Function and wait till form close t

 
 
=?Utf-8?B?ZGtlcm4=?=
Guest
Posts: n/a
 
      27th Feb 2006
I am importing data from an XLS. After reading in the records into a
recordset, I have a function that steps through each row. If a potential
duplicate is found, the Function calls a form that displays the current entry
and all duplicates as encountered and allows the user to select the new
record or one of the existing ones to use.

Issue: I am successfully calling the dupliaction form (
DoCmd.OpenForm "frmPickFromDuplicates", acNormal, , , acReadOnly, , strParPKs
) and it does everything it is supposed to BUT the function code continues
to process without waiting for the data entry form to have the user select
and then close. thererfore it blows since it does not have the feedback
required from the form.

I have tried Modal, Dialog and other combinations but to no avail...

Desired: While processing thru Function, if a potential duplicate is
encountered, call the form that offers the user the display of the duplicates
and the option to select which one to use. When the user makes the selection,
the form goes away and the processing in the Function begins the line after
the form call.


 
Reply With Quote
 
 
 
 
Albert D.Kallal
Guest
Posts: n/a
 
      27th Feb 2006
I expalin how you do this here:

http://www.members.shaw.ca/AlbertKal...log/Index.html


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)
http://www.members.shaw.ca/AlbertKallal


 
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
Call user form from ThisWorkbook; close file if form closed =?Utf-8?B?WFA=?= Microsoft Excel Programming 2 20th Jul 2007 07:04 PM
Form.Closing event not fired always when i call Form.Close method berylwilson Microsoft Dot NET Framework Forms 1 20th Apr 2007 02:11 AM
How to wait till webbrowser completes sending a form? mebeserk@gmail.com Microsoft Dot NET Framework Forms 2 24th Jun 2006 10:44 PM
How to wait till the Report is printed from a form? =?Utf-8?B?QW1pdA==?= Microsoft Access Form Coding 8 4th Apr 2005 09:39 PM
Call function in data entry form hermie Microsoft Access Forms 6 30th Nov 2004 02:43 PM


Features
 

Advertising
 

Newsgroups
 


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