hello sir
thank you for ur response
i have achieved what i wanted to;how i have done is that i
have writtenthe function in the module ,the function
doesnt take any parameters , and then the function is run
from a macro the result of the function is stored in the
control of the form by assigning the gotfocus property of
the control to the control,thereby getting the result from
the function on to the control of the form.
the reason why i am storing the data in the table is that,
i have been assigned the job of running a tool/program
which gives out features of video streams in a text file
and i am reading the text file and running a query to
extract features,and the in the module i am opening the
query as recordset and performing certain calculations on
the query records and then storing the result of the
operations in the table of the database to keep track of
different features of the video streams.
and also their is no much worry of data corruption in the
table i am storing the result as from macro i run a
command i.e"RunCommand" and it that i use "recordsGotoNew"
but i thing i will tell u sir that their is abt 10 times i
have to do such operations by reading the text file,as
their are 10 feilds in form representing corresponding
unique feature of the video streams, and it takes lot of
time to get the complete result in all the 10 feilds of
the form.
so it is slow, is their any way that i can reduce the
speed of the above operation,u know sir what the operation
is which is 1st linking a text file,then running a
query,then running a function,all this achieved from a
macro which is assigned to the activate prperty of the
form,so that when the form opens everything is
automatically calculated and put in as a new record.
sir also one thing is that i use in the macro
the "transfertext" method and when ever i repeat the
transfering text procedure,by running the macro again
access2000 makes an extra copy of the table(with a
different file name),the table containing the text file
contents. how do i prevent the making of a new table when
i run the macro.
thank you being patient by reading such a long mail.
waiting for your feedback
thank you
sabeel
[email protected]