subform not refreshing

nicwnacw

Registered User.
Local time
Today, 16:21
Joined
Feb 25, 2003
Messages
34
I have no VB skills at all have to do everything with macros etc. So please keep any replies simple. I have a database for students, courses and tutors - all worked fine until the customer wanted each student to do 2 courses at a time. The whole database is designed for statistical returns ie females with child care responsibilities living in a rural area etc., and the Course Id has to be the same on each course table. I split the course table into 2 tables with the same data, made a course entry form which appends new courses to both tables. My problem is that when I select a course ie no 234 for course 1 and 345 for course 2 I cannot get the subform to show the data unless I go to the next/previous record and back again; when I do this the main form opens at record 1. Is there a macro or piece of code I can use to automatically refresh OR a macro that will go to next record and then reopen the mainform at the place where I started?
 
refreshing subform

After a week of trying, I posted my query and went back to the drawing board. Problem solved with RunCommand on exit event I ran the rfresh command and all now works.
 

Users who are viewing this thread

Back
Top Bottom