dbTalk Databases Forums  

printing option

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss printing option in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ashok
 
Posts: n/a

Default printing option - 04-28-2004 , 08:39 AM






Hi

I have created form using form wizard, while printing the record, it
prints all the columns in colum wise(ie horizantally), There is no
option to print row wise (ie vertically).

1. How to print the records row wise ?

Secondly, after saving each record, while printing it prints by default
first record.

I wanted to print the recent record which I entered, ie the last record ?

What code to be entered in the event or method ?

Appreciate your help on this.

thanks
Ashok


Reply With Quote
  #2  
Old   
Ashok
 
Posts: n/a

Default Re: printing option - 04-29-2004 , 12:02 AM






Can anyone help me on this....

Ashok wrote:

Quote:
Hi

I have created form using form wizard, while printing the record, it
prints all the columns in colum wise(ie horizantally), There is no
option to print row wise (ie vertically).

1. How to print the records row wise ?

Secondly, after saving each record, while printing it prints by
default first record.

I wanted to print the recent record which I entered, ie the last record ?

What code to be entered in the event or method ?

Appreciate your help on this.

thanks
Ashok



Reply With Quote
  #3  
Old   
Stefan Wuebbe
 
Posts: n/a

Default Re: printing option - 04-29-2004 , 03:26 AM




"Ashok" <asjayara (AT) cisco (DOT) com> schrieb im Newsbeitrag
news:40908C5D.1010706 (AT) cisco (DOT) com...
Quote:
Can anyone help me on this....
Hi Ashok,

I think one problem with Vfp's Form/ Application Wizards
etc. is that many people do not use it, IOW cannot comment
on details. In my opinion, one reason not to use it is, like with
any frameworks, that when you are not exactly happy with
the result, it is somewhat more difficult to modify given code
in complex framework dependencies than it would be with
pure Vfp itself / resp. to modify your own reusable classes.

However, you can override any wizard method -
for example in yourform.BtnSet1.cmdPrint.Click() put
Set Step On
DoDefault()
to see the wizard code in the debugger.

Quote:
I have created form using form wizard, while printing the record, it
prints all the columns in colum wise(ie horizantally), There is no
option to print row wise (ie vertically).

1. How to print the records row wise ?
You'd need to design an alternative-report.frx

Quote:
Secondly, after saving each record, while printing it prints by
default first record.
You can override the cmdPrint.Click() again, for example
use a scope clause, see help
Report Form yourreport.frx Next 1


hth
-Stefan



Reply With Quote
  #4  
Old   
Ashok
 
Posts: n/a

Default Re: printing option - 04-29-2004 , 10:41 AM



Thanks Stefan for detailed explanation.

Stefan Wuebbe wrote:

Quote:
"Ashok" <asjayara (AT) cisco (DOT) com> schrieb im Newsbeitrag
news:40908C5D.1010706 (AT) cisco (DOT) com...


Can anyone help me on this....



Hi Ashok,

I think one problem with Vfp's Form/ Application Wizards
etc. is that many people do not use it, IOW cannot comment
on details. In my opinion, one reason not to use it is, like with
any frameworks, that when you are not exactly happy with
the result, it is somewhat more difficult to modify given code
in complex framework dependencies than it would be with
pure Vfp itself / resp. to modify your own reusable classes.

However, you can override any wizard method -
for example in yourform.BtnSet1.cmdPrint.Click() put
Set Step On
DoDefault()
to see the wizard code in the debugger.



I have created form using form wizard, while printing the record, it
prints all the columns in colum wise(ie horizantally), There is no
option to print row wise (ie vertically).





1. How to print the records row wise ?



You'd need to design an alternative-report.frx



Secondly, after saving each record, while printing it prints by
default first record.



You can override the cmdPrint.Click() again, for example
use a scope clause, see help
Report Form yourreport.frx Next 1


hth
-Stefan






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.