Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format$ Is not a Recongnized built in functon name

Status
Not open for further replies.

mrdagz

Programmer
Oct 10, 2007
9
Hi,
I have a mdb file that talks to a SQL DB that contains a set of reports, this run slow I am assuming this is because it runs though an ODBC link.

So I tried to create a ADP that connects directly to the SQL DB this works much faster but behind some of the reports I have VBA code and it does not seem to like some of the standard VBA functions like Format any one know of a way I can get this to work ?

 
turns out the Fromat in the VBA code was not the one it was complaining about, it was in a select string behind a control on the report. this needed to the T-SQL syntax not access syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top