True, but there must be any line of Code or comments. In case of a BINDEVENT(SrcObject, "Valid", DstObject, "UDF_Name") the event dont fire if the Valid-Method is empty.
I dnt have VFP6 anymore. But what will You do with GETWORDCOUNT(). This only delivry the amound of words and not the word at all.
does VFP6 have already
?GETWORDNUM(SYS(0),1)
*or
?GETWORDNUM(SYS(0),1,"#")
*or
?LEFT(SYS(0),AT(" ",SYS(0)))
Next level of IIF is ICASE... Check it out. Sometimes very helpful.
like here:
.G_DELETED.DynamicCurrentControl = [ICASE(] + ;
[!EMPTY(BEDPOSI) .and. BITTEST(BEDFLAG, FG_DelGrup), "LCK",] + ;
[!EMPTY(BEDSUBP) .and. BITTEST(BEDFLAG, FG_DelPosi), "LCK",] + ...
You need to assign the recordsource before closing the table
.SrcAlias = "RESERVAS"
.DisAlias = "CurRESERVAS"
IF USED(.RecordSource)
Lc_Sort = ORDER(.RecordSource)
ENDIF
.RecordSource = SPACE(10)
* either --> Clear Table, keep IndexTags
SET SAFETY OFF
ZAP...
I have refrained from programming code in a Grid.Header. Instead, I use the function available in the Grid
Grid.GridHitTest(nXCoord_In, nYCoord_In[, nWhere_Out [, nRelRow_Out [, nRelCol_Out [, nView_Out]]]])The only thing I still use in a header is the TAG and COMMENT properties, which are set...
As an alternative, this suggestion:
Define your own page size in the report, in proportion to the A4 page, and reposition your fields. You also have to unselect the "save printer environment". Then print using a PDF creator as a PDF with the "fit to page" option. Every PDF printer should...
I'm sorry that I copied the wrong text here. I had actually prepared this for another post, but it's not quite finished yet. I must have had a short circuit in my thinking (too tired).
My question about Pageframe/Page should be this:
PageFrame AND it's Pages should have some properties and...
Is there any way to preset some native objects in VFP?
I would really like to add some properties of the columns and headers of a grid to the favorites page.
It is annoying if you have to constantly jump around in design mode to set alignment, column names, comments and other properties.
The...
also no... see my text-file above,
All data used by the user is mirrored locally, as very often (60%-70%) work has to be done offline.
Synchronization with one of the 4 possible servers sometimes only takes place at the weekend.
And the editing itself takes place in a cursor and not in the...
none of both with and in this cursor.
I know, ALTER TABLE causes to loose the indexes. There usually fox drops a warning.
In the other function, in which I insert existing records, I check whether I have an empty record that is filled with GATHER NAME objname. If there is no recyclable record...
nope, there is nothing special in the cursor. see the list of open/used files above
removing several records (actually preparing them like a imported set of records), changing some fields and use the same procedure to reinsert them like inserting some importet records.
It's ridiculous how this error occurs. I've been using the process mentioned above for years when inserting external data blocks (BEDGRUP) or multiple rows (BEDPOSI).
Also the data recycling, where I fill empty and/or deleted data records with new data.
With the small difference that with this...
OOOPS Guys...
I forgot to include the most important information. It was already very late and I was already tired of trying to locate the error.
BLANK IN (.TmpAlias) ; && wipe both groups
FOR INLIST(BEDGRUP, Lo_Line.BEDGRUP, Tc_Line.BEDGRUP)...
there actually two tags. native table. not in a DB
* structure
* DOCID C(8)
* BEDGRUP,BEDPOSI,BEDSUBP N(3)
index on DOCID+trans(bedgrup, "@L 999")+;
trans(bedposi, "@L 999")+;
trans(bedsubp, "@L 999") ;
tag ID_EDIT ;
for !empty(bedgrup)
index on...
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.