Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MossNelson

  1. MossNelson

    Report with NOCONSOLE and REPORTBEHAVIOR 90

    Mike, Thanks for pointing me in this direction. I actually did an initial forum search on NOCONSOLE and did not find it. First I tried this solution and it did not work for me. >>> Modify the fxListener class of the _ReportListener class library and change the code in the LoadReport method...
  2. MossNelson

    Report with NOCONSOLE and REPORTBEHAVIOR 90

    Hi, I would like to upgrade my VFP reports with some of the features available with Set Reportbehavior 90 in VFP9 SP2. If I call a report using the standard REPORT FORM myreport.frx TO PRINTER NOCONSOLE with Set Reportbehavior 90 I get "TALK" back to the calling form. Eventually, it overruns...
  3. MossNelson

    Adding code to _screen Methods

    Mike, In one of my apps I would like to allow users to drag and create shortcuts to customers similar to how icons appear on the windows desktop. I am using command buttons with the icon pic for "Customer" in my application and the caption of the customer code. Clicking on one of these goes...
  4. MossNelson

    Adding code to _screen Methods

    Thanks for 2 good suggestions and this works nicely. Can you explain the need for the READ EVENTS ? I'm wondering about that since the CLICK() code performs a CLEAR EVENTS yet the button still keeps on working. -Nelson
  5. MossNelson

    Adding code to _screen Methods

    I am using VFP 9. Given the sample code above, how could I use BINDEVENT so that for example a WAIT WINDOW "Hello" appears when the Command Button is clicked ?
  6. MossNelson

    Adding code to _screen Methods

    I know that I can place an object such as a Command Button on the VFP desktop. For example, _screen.AddObject("mycmd", "Commandbutton") _screen.mycmd.width = 75 _screen.mycmd.height = 50 _screen.mycmd.caption = "Click Me" _screen.mycmd.visible = .t. How can I add my own code to the Click()...
  7. MossNelson

    Word automation, merge 2 templates into one doc

    >>> Needs tweaking to get to your goal <<< You're right about that however, the copy & paste method may come in handy. For example, a problem that I am encountering is that template 2 has a header but template 1 does not. Using template 2 as the basis document causes the header to appear on...
  8. MossNelson

    Word automation, merge 2 templates into one doc

    Tamar, Thanks for the reply. How would I select the entire page based on the first .dot programmaticaly ? By the way, what I'm trying to do here is provide an option to any existing letter for a fax cover page. -Nelson
  9. MossNelson

    Word automation, merge 2 templates into one doc

    I have a Word automation program which creates a document using a .dot template and bookmark fields from within a program. This works Ok. Would like to use a second .dot template which would serve as a cover sheet and to merge the two documents into a single .doc How can I accomplish this...
  10. MossNelson

    Printing 'Continued' after grouping page break

    >>> Have it "Reset value based on" Group: ID <<< Jim, I don't understand... if the variable resets only every time the group ID changes then this does not tell me if the group has rolled over to the next page. For example, if I have a group called "Filters" and in the Group Header it says...
  11. MossNelson

    Printing 'Continued' after grouping page break

    Hi, How can I print the word "Continued" after the text in my Group Header reprints on a second page ? I can add an IIF condition after the original text itself but how do I tell that a page break has occurred ? I am using VFP 9 Thanks
  12. MossNelson

    Stretch variable in Report Summary Band

    >>> any controls under the one you want to stretch <<< It is the last control on the report at the very bottom in the Summary section. It is marked to float but it absolutely does not stretch.
  13. MossNelson

    Stretch variable in Report Summary Band

    >>> OK, I'm a little confused <<< So am I! I spent several hours trying to figure this one but can't. It is a field control in the Summary portion of my report. The datasource for the control is a memory variable such as m.myremarks which contains a single paragraph of text. Stretch is...
  14. MossNelson

    Stretch variable in Report Summary Band

    It is a Field Control.
  15. MossNelson

    Stretch variable in Report Summary Band

    I am trying to print the contents of a variable m.myremarks into the Summary portion of a VFP9 report. 'Stretch with Overflow' is checked and Object Position is 'Float' yet the printed text gets cut off and does not Stretch past the size of the field box. Increasing the size of the field and...

Part and Inventory Search

Back
Top