Message 1 of 8
Writing Autocad data to AccessXP

Not applicable
01-21-2003
10:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm working on putting line info into an Access database. I want to be able
to create a new table each time i run the program. If I create the table
named with/by a string input by the user the table is created in Access,
but if I continue on and try to input information (after having created the
table by code) it doesn't get written. If i take out the part where i
create the table and use a table I made manually then the info gets written
to the table. How would I create the table and then write to it. I suspect
the problem is in the 'openrecordset' line, but am not sure. Also, how
would i write the code to specify how many decimal places to show when the
info gets to the table? FYI: the variables i'm assigning to the fields are
public variables from the code that extracts the line info.
Thank you,
r
I'm working on putting line info into an Access database. I want to be able
to create a new table each time i run the program. If I create the table
named with/by a string input by the user the table is created in Access,
but if I continue on and try to input information (after having created the
table by code) it doesn't get written. If i take out the part where i
create the table and use a table I made manually then the info gets written
to the table. How would I create the table and then write to it. I suspect
the problem is in the 'openrecordset' line, but am not sure. Also, how
would i write the code to specify how many decimal places to show when the
info gets to the table? FYI: the variables i'm assigning to the fields are
public variables from the code that extracts the line info.
Thank you,
r