G
Guest
I am trying to create a MS Access report using VBA to access data from a SQL
Server table and a DB2 table. Both tables contain varchar data that I want
to appear on the report. When I try linking the table, Access does not like
the DB2 varchar data. The VBA method was suggested as the most efficient.
I can get the query to bring back data from SQL Server in VBA but I can't
seem to get the data to populate the text boxes on the report. I keep
getting an error when I use this code:
Me.ErrorType = rst!ErrorType
What am I doing wrong? Any help would be appreciated.
Server table and a DB2 table. Both tables contain varchar data that I want
to appear on the report. When I try linking the table, Access does not like
the DB2 varchar data. The VBA method was suggested as the most efficient.
I can get the query to bring back data from SQL Server in VBA but I can't
seem to get the data to populate the text boxes on the report. I keep
getting an error when I use this code:
Me.ErrorType = rst!ErrorType
What am I doing wrong? Any help would be appreciated.