Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro Issues 1

Status
Not open for further replies.

owizard

Programmer
Feb 19, 2002
13
0
0
GB
Hi,

I have a Macro that imports a file from excel and stores the the values in a table (say X). I have a command button for running the Macro on the form, which is connected to the table X.

Issues:

1. Whenever I run the Macro, the table gets populated but the form doesn't show the records immediately. I have to close it and reopen it.

2. Is there anyway of replacing the records instead of appending them to the existing records in the table X?


Any Info will be deeply appreciated. Thanks a lot.



 
2. Simply run a delete macro before running the import macro

1. Requery the form

****************************
Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former. (Albert Einstein)

Robert L. Johnson III
MCSA, CNA, Net+, A+
w: rljohnso@stewart.com
h: wildmage@tampabay.rr.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top