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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SitesMasstec

    Combobox not populated with array

    Mark: Please see how hard it was for me to create this form: It would be a lot easier to create the above form using text (just the last column): FOR Y = 1 TO 12 strY=STR(Y,2) IF SUBSTR(strY,1,1)=" " strY="0"+SUBSTR(strY,2,1) ENDIF YdtNFADTPg="dtNFADTPg"+strY...
  2. SitesMasstec

    Combobox not populated with array

    Hello, Mark! I copied and pasted your code from above in a PRG file and run it. Wow, it is a Form and I tried it. I have never CREATED forms and ADDed OBJECTs inside a form. I just design the Form and its objects using, in a VFP project, Documents, Forms, New. I have seen this approach...
  3. SitesMasstec

    Strange error

    Chriss: So, when that error appears, the best thing to do is to quit VFP using Windows Task Manager. I think other option is, after CLEAR ALL, to close the Project and open it again, so VFP will setup VFP2C32.FLL again... I can try this when the error occurs again. Thank you.
  4. SitesMasstec

    Strange error

    Hello! Chriss: as I had issued CLEAR ALL before the error appeared, according to what you have said above, it may have caused VFP to miss VFP2C32.FLL (ctl32_vfp2c32.prg is in my project and has reference to VFP2C32.FLL)! So, from now on, I will not use CLEAR ALL anymore. Thank you.
  5. SitesMasstec

    Strange error

    Dear colleagues: Sometimes I got an error when running VFP programs, in the development environment. When this happens I write these lines in the command window: CANCEL CLOSE DATABESES CLEAR ALL SET VIEW TO VFPlimpo && The first time I opened VFP, I write the command CREATE VIEW VFPlimpo...
  6. SitesMasstec

    Combobox not populated with array

    Dear colleagues: I do not put any code in the AddItem or AddListItem. Instead, I just put this code in the LostFocus procedure in the Combobox (the second column of the row should not be displayed; indeed I need its value, which is the record number - variable NumeRegi - in the original table...
  7. SitesMasstec

    Combobox not populated with array

    Mark: Great! Simple and direct. Except that the Combobox doesn't show the second data (Record Number, from the original RESERVAS.DBF table) from each row in the array (please see my first post, running a PRG file: it shows the Record Number from a table): SELECT NOMAGENTE+" (" +...
  8. SitesMasstec

    Combobox not populated with array

    Hello, Joe! It doesn't work, either. Please see the code in the Init procedure in the Form: DECLARE NOMES(1,1) NOMES(1,1)="-" thisform.txtNOME.Value=YNOMECLI NOMECLI=YNOMECLI IF NOMECLI<>SPACE(34) NOMECLI=UPPER(ALLTRIM(NOMECLI)) SELECT NOMAGENTE+" ("...
  9. SitesMasstec

    Combobox not populated with array

    Hello, Greg! I uderstand your method works . But as I have an array in memory, why not just my code in the AddItem in the Combobox doesn't work?
  10. SitesMasstec

    Combobox not populated with array

    Hello colleagues! I am trying to put in a Combobox the data from an array. These are the data from the array I am using (just to be sure that the array has these data; the similar code is in the procedure Init in the Form): This is the Form: As you can see, the data from the array are not...
  11. SitesMasstec

    Window displaying differently outside VFP environment

    Dylim: My Window Display Settings is 1366 x 768 , Scale 100%. But other users may have this setting at 1280 x 720, or 1024 x 768...
  12. SitesMasstec

    Window displaying differently outside VFP environment

    Arrayname and Joe: Yes, I will follow your advice. Really, form is more convenient, as we cannot preview the resolution/size of the user's screen. Thank you.
  13. SitesMasstec

    Window displaying differently outside VFP environment

    Hello colleagues! I defined a window to appear in some circunstances during a program execution: DEFINE WINDOW JanelaAviso IN SCREEN; FROM 10,10 TO 26,110; FONT 'Courier New',11; STYLE 'B'; COLOR RGB(51,51,51, &AmareloClaro), RGB(0,0,0, 255,255,255) When I run a program in...
  14. SitesMasstec

    Change words (language) in button set

    Isn't it enough just to chance the Caption in the Properties? Thank you.
  15. SitesMasstec

    Change words (language) in button set

    Hello dear colleagues! I created a small form for data entry, using Wizard. I came with the buttons I need, to add, delete and edit records, as you can see in the image bellow. It runs fine, but I would like to change the terms, as my native language is Portuguese Brazilian. For example...
  16. SitesMasstec

    Progress of report being processed

    Igor: I have just tested: it took 1 second to create the cursor and 1 second to generate the report. I do not know why it is faster now. I finished the VFP and restarted it. Also, I create EXE and executed it outside VFP environment, with changes for the selections. The result is the same now...
  17. SitesMasstec

    Progress of report being processed

    Oh sorry, Igor, the 10-20 seconds time is for both: to read/select from the table and create the cursor + for the report to be generated using the curor records.
  18. SitesMasstec

    Progress of report being processed

    Hello colleagues! I created a Report which uses data from a cursor, that has about two hundred of records, selected from thousands of records from a table. Well, the generated Report (about 25 pages) is fine. It is acceptable that it takes about 10-20 seconds to show the report on screen...
  19. 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.
  20. 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...

Part and Inventory Search

Back
Top