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 strongm 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 SitesMasstec

  1. SitesMasstec

    Report layout differs when running

    Chriss: I am happy to be wrong and VFP (in REPORTBEHAVIOUR 90) does that fine positioning. I will try again and I'll post my result here. Thank you.
  2. SitesMasstec

    Report layout differs when running

    Ein, yes, I tried it, also. I concluded that it cannot be fine ajusted: in the VFP book "What's New in Nine", page 100, it explains about "Absolut positioning": it cannot be perfect, as I have understood. I used a green vertical line, as a ruler, as you advised in your earlier post. It helps...
  3. SitesMasstec

    Report layout differs when running

    Mark: I have also it checked to Snap to Grid. Set Grid Scale (to 6 pixels) doesn't wotk either: it just has effect to show the report on screen, it doesn't fine tune the position when moving a label using arrows. For example, a label is 4.968 inches from left, the next position if I type...
  4. SitesMasstec

    Report layout differs when running

    Chriss: This is the result for your query:
  5. SitesMasstec

    Report layout differs when running

    Yes, Joe, I tried "From left" property, too: VFP doesn't keep the exact measure when running the report.
  6. SitesMasstec

    Report layout differs when running

    Hello colleagues! I have been wasting more time to fine ajust the position of objects when design a report than creating the report itself. Is it a fault in VFP 9? I have tried even (instead of moving labels through the report using arrows) to set the position "From left" (for example 5,614...
  7. SitesMasstec

    Sorting an array

    Just to simplify. I created a new Form, and put a Combobox in it. In the Combobox GotFocus event I put the code: PUBLIC ARRAY Texto(10) Texto(1)="Paul" Texto(2)="Charles" Texto(3)="Mary" ASORT(Texto) && Sort the array With This FOR I=1 TO 3 .AddItem(Texto(I)) NEXT I...
  8. SitesMasstec

    Sorting an array

    The program stops executing in line: ASORT(Cabine) && Sort the array and presents the error "Data type mismatched"
  9. SitesMasstec

    Sorting an array

    Hello colleagues! I have been trying to sort an array in alphabetical order, but errors appear: PUBLIC ARRAY Cabine(30) FOR I=1 TO 30 IF XTIPOCAB(I)<>SPACE(3) Cabine(I)=XTIPOCAB(I) + " - " + XCATEGCAB(I) + " ("+ ALLTRIM(XNOMECAB(I)) + ") " ENDIF NEXT I ASORT(Cabine) && Sort...
  10. SitesMasstec

    Report not showing selected records

    Wow, another great lesson from Chriss! Yes, Chris, all my reports are unchecked for 'Report uses a private data session'. In one computer I can only run one report (or other program function) at a time. The application doesn't allow to run the same program at the same time in the same computer...
  11. SitesMasstec

    Report not showing selected records

    The use of '==' presented by Greg worked fine. Now the report works as intended! Also, the lesson presented by Joe is very didactic. I will print it and let it on my desk to refer to it when using comparisions between data. Tore said: Well, the command SELECT curPedProd before REPORT FORM...
  12. SitesMasstec

    Report not showing selected records

    Hello colleagues! I am trying to display in a report only records which have in the PSTAT field the content "PENDENTE". This field lenght is set to 10 characters. The variable QualStatus is defined during run time, and the user typed "Pendente" to be stored in it. The code is: SELECT * FROM...
  13. SitesMasstec

    Copy fields from one table to another

    Hello dear colleagues! Mark, Chriss & Ein: I tried to have more than just one detail in my former versions of the report, but unsucessfully, either (but I think I made a very big mistake, I'll tell you bellow): From my 5th version of the report, clicking by chance in an "empty" area of the...
  14. SitesMasstec

    Copy fields from one table to another

    Hello, Criss! I have not understood about "driving workarea" you mentioned above, but the problem was just solved this way: 1) I used the Report Wizard to create a "One-to-Many" 2) I ran it to test: 3) As it was ok, I copied the fields from my original report (which was not working as...
  15. SitesMasstec

    Copy fields from one table to another

    Criss: In the Detail1 I have the fields from the table RESERVAS.DBF. There must have just one record (LOCALIZA field, example 5005741) In the Detail2 I have the fields from the table TEMPPAX.DBF. And all the records in the TEMPPAX.DBF must be printed in the Detail2 of the Report, because all...

Part and Inventory Search

Back
Top