VFP CursorAdapter how-to (magyar verzió lentebb) There's an SQL Express hosted database. The target is to handle the tables on the server as like local views, with a shared connection, via OLEDB. Creating a CursorAdapter (CA) is not a big deal, but it doesn't work as I expected. So there're two options. Create a class from a PRG or use the CA builder but customize it. Let's see the last. Create a CursorAdapter in a class library. Use the builder with a 'use connection settings in builder only' option to setup a table, using ADO type at the datasource type combolist. When you're ready with it, modify the datasource to 'use existing ADO Recordset' with the value of: this.oRS Create a new property with name: oRS, default value: NULL, with Access method LOCAL loRS as ADODB.RecordSet IF VARTYPE(this.oRS) "O" THEN this.oRS = NULL loRS = NEWOBJECT("ADODB.Recordset") IF VARTYPE(loRS)="O" THEN...
Bejegyzések
Bejegyzések megjelenítése ebből a hónapból: november, 2006
- Link lekérése
- X
- Más alkalmazások
PXE network boot There are several ways computers can boot over a network, but the one mandated by PC99 is called PXE. PXE is a kind of DHCP extension, so all you need is an up-to-date DHCP server and a TFTP server. A DHCP server and a TFTP server can be set up to handle PXE boot requests. It's up to you what to give the PCs when they boot; several possibilities include Another bootloader, for instance: - pxelinux - etherboot - grub - the network install boot image from a Linux distribution, - or whatever evil program you desire ;) Original source: http://www.kegel.com/linux/pxe.html