PMS32 Online- Hilfereferenz

FUNC.0303217841-3592776716

RWCursor - Erzeugt einen RW Cursor (alte Funktion)


Hilfe: Erzeugt einen RW Cursor (alte Funktion)


Aufruf: Erzeugt einen RW Cursor (alte Funktion)
BOOLEAN = RWCursor(tcAlias AS STRING)

Rückgabe: Erzeugt einen RW Cursor (alte Funktion)
Rückgabe der Funktion: BOOLEAN

Code: Erzeugt einen RW Cursor (alte Funktion)
PROCEDURE RWCursor (tcAlias AS STRING) AS Boolean;
		HELPSTRING "Erzeugt aus einem CURSOR einen Schreib/Lesecursor."
	RETURN My.DATA.Tabellen.RWCursor(m.tcAlias)
	*The trick is that you open the cursor (AGAIN) in another work area and then go
	*back to the original cursor work area and re-open it.  This opening in the
	*other work area prevents the cursor from being deleted when you re-use it.
	*
	*The reason for the IF ".TMP"$cursdbf statement is because under certain (that
	*is: optimizable) conditions, FoxPro will create a cursor that doesn't actually
	*have a disk presence, but rather is just a filtered view of the original
	*database opened again in another work area.  The SELECT * FROM (m.cursdbf)
	*statement will force the creation of a cursor with a disk presence (because of
	*the ".T." in the contents of the m.cursfilt variable).
	*
	*If you have any questions, please holler.
	*
ENDPROC


Siehe auch : Hauptmenü /  Hauptindex /  Such Index /  Cursor Index /  Programm Module /  Tabellen Index /  Tabellenmodule /  Masken Index /  Programmcode Index /  Servicepacks /  My.Struktur /  Funktionen /  Sonstiges Index

Lokale Benutzerhilfe : Meine eigene Hilfe /  Zurück zur PMS32 - Hilfe


Dateiversion:1.0.04#3648 - H.U.DD#SSFF 02.12.2022  Senden Sie Ihren Kommentar zu diesem Thema an das Entwicklungsteam von PMS32  Weitere Informationen finden Sie unter der aktuellen PMS32 WEB-Hilfe
Die Informationen dieser Mitteilung sind vertraulich und nur für Sie bestimmt. Unbefugtes Weiterleiten,  Veröffentlichen, Kopieren usw. sind untersagt und werden gerichtlich verfolgt.  © PMS Compelec GmbH 2022 ® el-Projekt