Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 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: 331394 # Views: 33 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Thursday, December 29, 2011 4:54:19 PM         
   


Is this what you want


PUBLIC oform1
_screen.Visible=.f.
oform1=NEWOBJECT("form1")
oform1.Show
RETURN


DEFINE CLASS form1 AS form


	Top = 0
	Left = 0
	Height = 709
	Width = 1186
	ShowWindow = 2
	DoCreate = .T.
	Caption = "Form1"
	Name = "Form1"


	ADD OBJECT command1 AS commandbutton WITH ;
		Top = 108, ;
		Left = 144, ;
		Height = 27, ;
		Width = 84, ;
		Caption = "Command1", ;
		Name = "Command1"


	PROCEDURE command1.Click
		DEFINE WINDOW temp FROM 0,0 TO thisform.Height,thisform.Width IN WINDOW form1
		ACTIVATE WINDOW temp
		MODIFY REPORT temp IN WINDOW temp
	ENDPROC

	PROCEDURE destroy
		_screen.Visible=.t.
	ENDPROC 

ENDDEFINE


Regards
Tushar

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