EUGrid formatting
- Posted by "sixs" <sixs at ida.net> Nov 14, 2003
- 479 views
This is a multi-part message in MIME format. ------=_NextPart_000_0035_01C3AABC.C620FC90 charset="iso-8859-1" I am using Sqllite with EUGrid and having a problem inserting data from the Grid to SQLite.I can insert the data, but it stores funny, It is a number field. SQLite stores dat with single quotes. I am not sure if I am using the numeric Grid controls. I have used these formats I changed the "%-0d" to "%-d". I get a single digit stored into an Sqlite field. Jvandal ============================================= void = EGW_SetColumnProperty(Grid, ColNumber, EGW_COL_NUMFORMAT, "%-d") void = EGW_SetColumnProperty(Grid, ColAmount, EGW_COL_DATATYPE, EGW_NUMBER) ------=_NextPart_000_0035_01C3AABC.C620FC90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2800.1276" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I am using Sqllite with EUGrid and having a problem inserting data from the Grid to SQLite.I can insert the data, but it stores funny, It is a number field. SQLite stores dat with single quotes. I am not sure if I am using the numeric Grid controls. </FONT></DIV> <DIV><FONT face=Arial size=2>I have used these formats I changed the "%-0d" to "%-d". I get a single digit stored into an Sqlite field.</FONT></DIV> <DIV><FONT face=Arial size=2>Jvandal</FONT></DIV> <DIV><FONT face=Arial size=2>=============================================</FONT></DIV> <DIV><FONT face=Arial size=2>void = EGW_SetColumnProperty(Grid, ColNumber, EGW_COL_NUMFORMAT, "%-d")<BR>void = EGW_SetColumnProperty(Grid, ColAmount, ------=_NextPart_000_0035_01C3AABC.C620FC90--