FacilitiesCAD
Technical User
Hi everyone, I'm fairly newat using access but I'm getting there. I am trying a project to import data into an access database. I have a group of 1700 files (AutoCAD drawings) in a number of sub directories that I'm trying to collect data from. I am mostly there.
The database currently has the file name, date & time saved, file path. The next thing to do is collect some data from the file itself.
I want to press 1 button and get it to do the following things (Some I can do and some I can't)
Can 1) Open Autocad LT
can 2) Open a specific file (whichever entry I'm
looking at)
Can 3) Run a batch routine to extract data
(This all happens together)
Can't 4) Empty a table "Access_Acad" (so it will only have
certain entries later)
Can't 5) Wait for 20 seconds (or basically until the data
is sent to a csv file.
Can 6) Import the data into "Access_Acad" (without single
quotes)
Can't 7) run query "Access_Acad_Query" to get specific data
from the imported data in step 6
Can't 8) Take information from the query and set it in
my "Input_Data" table ie [me] [Input_Data] [Note] =
[Access_Acad_Query] [TITLE1] and [Title2] and [title3]
If [Access_Acad_Query]Dwgnum= "" then [Input_Data]
[dwg_Name]=[Access_Acad_Query]Dwgno else
[Input_Data][dwg_Name]=[Access_Acad_Query]Dwgnum
etc
basically in step 4 I dont know how to do a delete command
in step 5 I dont know how to wait in step 7 i dont know how to run a query and in step 8 I dont know how to specify the specific query point because its not just me.anything.
Any help is apreciated.
Tim
The database currently has the file name, date & time saved, file path. The next thing to do is collect some data from the file itself.
I want to press 1 button and get it to do the following things (Some I can do and some I can't)
Can 1) Open Autocad LT
can 2) Open a specific file (whichever entry I'm
looking at)
Can 3) Run a batch routine to extract data
(This all happens together)
Can't 4) Empty a table "Access_Acad" (so it will only have
certain entries later)
Can't 5) Wait for 20 seconds (or basically until the data
is sent to a csv file.
Can 6) Import the data into "Access_Acad" (without single
quotes)
Can't 7) run query "Access_Acad_Query" to get specific data
from the imported data in step 6
Can't 8) Take information from the query and set it in
my "Input_Data" table ie [me] [Input_Data] [Note] =
[Access_Acad_Query] [TITLE1] and [Title2] and [title3]
If [Access_Acad_Query]Dwgnum= "" then [Input_Data]
[dwg_Name]=[Access_Acad_Query]Dwgno else
[Input_Data][dwg_Name]=[Access_Acad_Query]Dwgnum
etc
basically in step 4 I dont know how to do a delete command
in step 5 I dont know how to wait in step 7 i dont know how to run a query and in step 8 I dont know how to specify the specific query point because its not just me.anything.
Any help is apreciated.
Tim