|
-
Aug 28th, 2005, 06:13 PM
#1
Thread Starter
New Member
URGENT: How can I Alter the DBF structure in VBA?
Hello. Can someone help me with this one...
I need to alter a DBF structure to change a numeric datatype precision and scale.
Using ADO, I have tried to use the "ALTER TABLE <dbf> ALTER COLUMN SALES n(11,2)", but error "Incorrect syntax on ALTER TABLE."
I have read on msdn doc that ALTER command does not work on Microsoft Jet Engine. So I tried DAO, "Opendatabase", but access denied/permission error occured.
I will really appreciate any help or suggestion....
Thanks in advance.
-
Aug 29th, 2005, 05:48 AM
#2
Re: URGENT: How can I Alter the DBF structure in VBA?
-
Aug 31st, 2005, 04:27 AM
#3
Thread Starter
New Member
Re: URGENT: How can I Alter the DBF structure in VBA?
Yes, I have read some of the threads. I also have tried some of it but it still does not work. I still cannot alter the dbf structure.
-
Aug 31st, 2005, 09:26 AM
#4
Re: URGENT: How can I Alter the DBF structure in VBA?
here
The response to the post is something about dbase only allowing 10 chars ? And you are trying for 11+2? or 11 and 2 decimal places?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|