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 Stefan5627

  1. Stefan5627

    What wrong in this syntax:

    Rereading your post you probably want: Cast(ICASE(unit='1000/Pcs',((quantity*rate)/1000), unit='1000/Set',((quantity*rate)/1000),; unit='100/Pcs',((quantity*rate)/100),unit='100/Set',((quantity*rate)/100),(quantity*rate) As Y) as amount
  2. Stefan5627

    What wrong in this syntax:

    Amount is not a type, replace it by Y Cast(ICASE(unit='1000/Pcs',((quantity*rate)/1000), unit='1000/Set',((quantity*rate)/1000),; unit='100/Pcs',((quantity*rate)/100),unit='100/Set',((quantity*rate)/100),(quantity*rate) As Y)
  3. Stefan5627

    alignment of custom textboxes in a grid

    Thank you for the reply Olaf, Binding/unbinding is a good suggestion, allthough be it a big switch. Setting sparse to true also looks like a good workaround. Will try this later, don't have time right now... @Craig: borderstyle is set to 0 (see class grid_textbox in post above)
  4. Stefan5627

    alignment of custom textboxes in a grid

    The text in the textbox is shifted up 1 or 2 pixels When you click in the cell it goes down 2 pixels and aligns with the other columns. font/Fontsize is the same in the entire grid. I create the grid completely in code (columncount, headercaptions, controlsource, columnwidths, etc..) That...
  5. Stefan5627

    alignment of custom textboxes in a grid

    Hi all, In my editable grids i change the currentcontrol in columns so i can use custom textboxes however these are not properly alligned with the default textboxes in other (none editable) columns where currentcontrol has not been changed. when the column with the custom textbox gets the...
  6. Stefan5627

    intellisence for C# COMserver

    mycomserver.myclass is registered (I wrote an installer in the same solution) However i am a novice to c# so i don't know if i need to add something so it can be used by vfp intellisence. Stefan
  7. Stefan5627

    intellisence for C# COMserver

    Thanks for the reply Mike, but that's not what i'm looking for. When i do something like local loword as word.application then intellisence automaticly kicks in when i use loword however when i do [code] local lotest as mycomserver.myclass [/] intellisence does not work on lotest
  8. Stefan5627

    intellisence for C# COMserver

    Hi everyone, I've written a COMserver in C# that i'm using in vfp9 Does anybody know how i can get vfp intellisence to work with it? Stefan
  9. Stefan5627

    Chaining reports

    multiple detailbands won't work because the second report uses grouping, the first one doesn't. word automation is to slow. I am thinking about exploring the possibilities of generating a word xml document (no automation, just text) but I don't have the time right now. Does anyone have any...
  10. Stefan5627

    Chaining reports

    Hi Olaf, Not the news I was hoping for but I'm glad I got an answer to my question. Thank you for finding this information.
  11. Stefan5627

    Chaining reports

    I removed the pageheader and pagefooter. I only use detailband and summary band and still the second report starts on the next page I can't get it to work I attached a simple testcase I make 2 cursors that I use in 2 reports The reports only have a detailband and still the 2nd report starts on...
  12. Stefan5627

    Chaining reports

    Because i want to preview i use the reportlistener. I tried using danfreeman's method just to see if it would work. Might using a pageheader be a problem? Shall i encapsulate the report in another group and use that groupheader to replace the pageheader? My boss has got me working on another...
  13. Stefan5627

    Chaining reports

    @danfreeman: Report form Report1 NoPageEject to printer Report form Report2 to printer If this should work then there must be a problem in my reports because it doesn't work, the second report still starts on page 2 instead of page 1 I would however like to print from the preview. like i said...
  14. Stefan5627

    Chaining reports

    Thanks for the reply Olaf, report 1 uses no grouping report 2 does use grouping, but each group starts on a new line I tried doing the same with 2 simple reports (neither uses grouping) and also there report 2 starts on a new page. Is it theoreticly possible to start report 2 on a new line...
  15. Stefan5627

    Chaining reports

    Hi all, I would like to chain 2 reports I use code like loListener = newobject('_ReportListener', ; home() + 'ffc\_ReportListener.vcx') loListener.ListenerType = 1 loListener.AddReport('MyReport1.frx', ; 'nopageeject') loListener.AddReport('MyReport2.frx')...

Part and Inventory Search

Back
Top