Update of /cvsroot/instantobjects/Docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19938
Modified Files:
IdDataType_and_IdDataSize.txt
Log Message:
Fix minor typo
Index: IdDataType_and_IdDataSize.txt
===================================================================
RCS file: /cvsroot/instantobjects/Docs/IdDataType_and_IdDataSize.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IdDataType_and_IdDataSize.txt 25 Feb 2005 15:34:07 -0000 1.1
--- IdDataType_and_IdDataSize.txt 26 Aug 2005 06:50:45 -0000 1.2
***************
*** 16,20 ****
Just set a data type (I have only tested dtString and dtInteger, and some datatypes like dtBlob and dtBoolean just don't make sense), a DataSize where applicable and build the database. Don't forget to have the same settings when you connect to the database.
! If you use a datatype different than string[32], you might also need to override the default key generation mechanism (otherwise IO will generate 32-character GUIDS that might not fit into your key fields), which you do by handling the connector's OnGenerateId event. Here is the even declaration:
type
--- 16,20 ----
Just set a data type (I have only tested dtString and dtInteger, and some datatypes like dtBlob and dtBoolean just don't make sense), a DataSize where applicable and build the database. Don't forget to have the same settings when you connect to the database.
! If you use a datatype different than string[32], you might also need to override the default key generation mechanism (otherwise IO will generate 32-character GUIDS that might not fit into your key fields), which you do by handling the connector's OnGenerateId event. Here is the event declaration:
type
|