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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.