Using Win32 functions in Visual FoxPro Image Gallery
Remote Application Programming (RAPI)
..msdn
CeCloseHandle
CeCopyFile
CeCreateDatabase
CeCreateDirectory
CeCreateFile
CeCreateProcess
CeDeleteDatabase
CeDeleteFile
CeDeleteRecord
CeEnumDBVolumes
CeFindAllFiles
CeFindFirstDatabaseEx
CeFindFirstFile
CeFindNextDatabaseEx
CeGetFileSize
CeGetLastError
CeGetSpecialFolderPath
CeGetStoreInformation
CeGetSystemInfo
CeGetSystemPowerStatusEx
CeGetTempPath
CeGetVersionEx
CeGlobalMemoryStatus
CeMoveFile
CeOidGetInfoEx
CeOpenDatabase
CeRapiFreeBuffer
CeRapiGetError
CeRapiInit
CeRapiInitEx
CeRapiInvoke
CeRapiUninit
CeReadFile
CeReadRecordProps
CeRegCloseKey
CeRegCreateKeyEx
CeRegDeleteKey
CeRegDeleteValue
CeRegEnumKeyEx
CeRegEnumValue
CeRegOpenKeyEx
CeRegQueryInfoKey
CeRegQueryValueEx
CeRegSetValueEx
CeRemoveDirectory
CeSeekDatabase
CeSetFilePointer
CeWriteFile
CeWriteRecordProps
Code examples:
Pocket PC: custom RAPI class for operating with the Object Store Databases
CeWriteRecordProps
..msdn    Add comment     W32 Constants      Translate this page
This function writes a set of properties to a single record, creating the record if necessary.
Code examples:
Pocket PC: custom RAPI class for operating with the Object Store Databases
Declaration:
CEOID CeWriteRecordProps(
  HANDLE hDbase, 
  CEOID oidRecord, 
  WORD cPropID, 
  CEPROPVAL* rgPropVal 
);
FoxPro declaration:
DECLARE INTEGER CeWriteRecordProps IN rapi;
    INTEGER hDbase,;
    INTEGER oidRecord,;
    SHORT   cPropID,;
    INTEGER rgPropVal

Parameters:
hDbase
[in] Handle to an open database. The database must have been opened by a previous call to the CeOpenDatabase function.

oidRecord
[in] Object identifier of the record to which the specified properties are to be written. If this parameter is 0, a new record is created and filled in with the specified properties.

cPropID
[in] Number of properties in the array specified by the rgPropVal parameter. The cPropID parameter must not be 0.

rgPropVal
[in] Pointer to an array of CEPROPVAL structures that specify the property values to be written to the specified record.
Return value:
The object identifier of the record to which the properties were written indicates success. Zero indicates failure.
My comment:
To delete a property set the CEDB_PROPDELETE flag in the appropriate property value. Even if you have all properties for the record deleted, it still stays in the database. Use CeDeleteRecord function to delete a record.

See also CeReadRecordProps, CeOpenDatabase, CeDeleteRecord functions.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-26 10:16:34
Modified: 2004-08-26 10:26:41
Visited in last 7 days: 15
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.224.18.114)
11 sec.Login
23 sec.Function: 'waveOutReset'
Function group: 'Windows Multimedia'
36 sec.Example: 'Quering waveform-audio output devices'
48 sec.Example: 'How to download a file from the FTP server using FtpGetFile'
1.02 min.Function: 'StretchDIBits'
Function group: 'Bitmap'
1.2 min.Function: 'FindClose'
Function group: 'File Management'
1.4 min.Banners
1.62 min.Function: 'GdipCreateBitmapFromGraphics'
Function group: 'GDI+ Bitmap'
1.82 min.Function: 'CeSeekDatabase'
Function group: 'Remote Application Programming (RAPI)'
2.03 min.Function: 'sndPlaySound'
Function group: 'Windows Multimedia'
Google
Advertise here!