|
|
|
добавление поля numeric в dbf
|
|||
|---|---|---|---|
|
#18+
Создаю DBF из Vb. Set Conn = New ADODB.Connection With Conn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Extended Properties") = "dBase IV" .Properties("Data Source") = "D:\data\" .Open End With DoEvents Set dbfCmd = New ADODB.Command With dbfCmd .ActiveConnection = Conn .CommandTimeout = 10 .CommandText = "CREATE TABLE 130903_1 " & "(COD number ,CDPR numeric(12),NCARD numeric(10)," & _ "IDCODE char(10),PASP char(14),FIO char(50),IDPIL char(10),PASSPIL char(14)," & _ "FIOPIL char(50),INDEk numeric(6),CDUL numeric(5),HOUSE char(7),BLILD char(2),APT char(4)," & _ "LGCODE numeric(4),KAT numeric(4),YRARIN numeric(4),MONTHIN numeric(2)," & _ "YEAROUT numeric(4),MONTHOUT numeric(2),RAH char(25),RIZN numeric(6),TARIF numeric(10));" ' , .Execute End With Проблема в том что поля numeric оказываются длиной в 20 ед, а нужно точно как указано в скрипте. Помогите пожалуйста. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.04.2006, 12:15 |
|
||
|
|

start [/forum/topic.php?fid=60&fpage=282&tid=2165933]: |
0ms |
get settings: |
9ms |
get forum list: |
18ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
61ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
40ms |
get tp. blocked users: |
2ms |
| others: | 242ms |
| total: | 393ms |

| 0 / 0 |
