|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
alter table expresion in VB
i need a help on vb for altering table(vmbs) it is working by giving continues string if i gave space while entering into textbox then it is not taking
//examp:main.text="jayaram palavalasa" it will not create colum please help Set rsaddress = dbaddress.Execute("ALTER TABLE vmbs " _ & "ADD " & main.Text & " text;") //advance thanks |
|
#2
|
|||
|
|||
|
If it's a MS database, try
Set rsaddress = dbaddress.Execute("ALTER TABLE vmbs " _ & "ADD [" & main.Text & "] text;") But I would avoid using spaces in column names.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > alter table expresion in VB |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|