Mirica_Victor
Registered User.
- Local time
- Today, 19:35
- Joined
- Oct 24, 2008
- Messages
- 11
Hy!
I have a linked *.txt file and a qwery that returns the top 1 record from it. (The ideea is to check a value from one column of the file).
Both the linked file/table and the query run corectly, but:
I have a vba code on the on open of a form that is checking the query above mentioned (the form is on the Startup option of the database) and when I need to use the Dcount of the Query "
I get the "Runtime error 3625: the text file specification..." doesn't exist etc.
I pres debug and test the query, I get the "Unknown Jet Error".
I press Stop in the VBA and open the Qry - it shows what is was ment to show.
I know the workaround is to make a maketable with the needed info and the Dcount on the local table, but it would add one query and one table to the database. Is this the only way? I am prety shure there is a more... "simple" method.
Anny Ideas?
I have a linked *.txt file and a qwery that returns the top 1 record from it. (The ideea is to check a value from one column of the file).
Both the linked file/table and the query run corectly, but:
I have a vba code on the on open of a form that is checking the query above mentioned (the form is on the Startup option of the database) and when I need to use the Dcount of the Query "
Code:
DCnt = DCount("Den_Fis", "Data_R_Mod_U$G9707014")
I get the "Runtime error 3625: the text file specification..." doesn't exist etc.
I pres debug and test the query, I get the "Unknown Jet Error".
I press Stop in the VBA and open the Qry - it shows what is was ment to show.
I know the workaround is to make a maketable with the needed info and the Dcount on the local table, but it would add one query and one table to the database. Is this the only way? I am prety shure there is a more... "simple" method.
Anny Ideas?