Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 To: mk sharma
  Where is mk sharma?
 mumbai
 India
 mk sharma
 Tags
Subject: RE: how to modify a report with Model form
Thread ID: 331386 Message ID: 331396 # Views: 35 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Thursday, December 29, 2011 5:00:47 PM         
   


> >
> >
DEFINE WINDOW temp FROM 0,0 TO thisform.Height,thisform.Width IN WINDOW mainform
> > ACTIVATE WINDOW temp
> > MODIFY REPORT myreportname IN WINDOW temp
> > 

> >
> > Regards
> > Tushar
>
> not working as my requirement
> i have changed my code
>
> ** main.prg
> set sysmenu to 
> _screen.visible=.T.
> do form mainform
> read events
> 
> 
> **mainform.scx
> mainform.windowtype = 1 - Modal
> mainform.ShowWindow = 0 - in screen
> mainform.TitleBar = 0 - off
> 
> ** i have a command button on the form to modify the report 
> 
> **modifyreport.click
> modify report myreportname
> 
> ** now this is working as expected but in screen, not as top level form.
> 

>
>
> Warm Regards,
> mk.

Try this:

DEFINE WINDOW temp FROM 0,0 TO thisform.Height,thisform.Width
ACTIVATE WINDOW temp IN (thisform.name)
MODIFY REPORT ... IN WINDOW temp
RELEASE WINDOWS temp
thisform.Refresh


Best Wishes,

Yuri Rubinov

ENTIRE THREAD

how to modify a report with Model form Posted by mk sharma @ 12/29/2011 3:48:06 PM
RE: how to modify a report with Model form Posted by tushar @ 12/29/2011 4:02:00 PM
RE: how to modify a report with Model form Posted by mk sharma @ 12/29/2011 4:25:45 PM
RE: how to modify a report with Model form Posted by tushar @ 12/29/2011 4:54:19 PM
RE: how to modify a report with Model form Posted by Yuri Rubinov @ 12/29/2011 5:00:47 PM