Tommy:  Like Jan I'm a little confused how you are going about
this, because unless you are running your forms AS  MDI, I don't
know how you can have 10 forms open at once....

How I usually design these things is, like Jan says, to have a form
with your variable calendar at the top.  Clicking on a date would 
update a listview (not a scrolling region) on the form that displays all 
the rows that meet your date criteria.  Double-clicking on a row in
that listview would bring up the individual edit form for that row.  That
form will have a pre-defined "save and exit" or a CLOSEWINDOW 
that would close that individual edit form and return you back to the
main form.   If you would like a print-screen of the forms that I
design to do that, email me privately and I'd be happy to send it to
you.  Could give you some ideas...

Karen

 
> Tommy,
>   
>  OK. CLOSEWINDOW works on the current focused form.
>  If you want close another window you need to give each form a 
> componentid.
>  Then from form1 you could close form2 by issuing
>  CLOSEWINDOW form2componentid.
>   
>  I'm not sure that will give you want you want.
>   
>  If I had my druthers I would redesign your schedule form probably 
> something like
>  form1 contains
>  Variable calendar to select date
>  Varable listview to display appointments on selected dates with an eep to 
> select form2
>   
>  form2 contains
>  all of the information about the appointment
>   
>  Just my thoughts.
>   
>  Jan
> 
> 

Reply via email to