Quantcast
Channel: Access Reports
Viewing all articles
Browse latest Browse all 50

OBJECTIVE: Print PDF to file, each record should be a file name =PID (field) - have code issue belo

$
0
0
I've reviewed google groups for solution, most of the post are
directing to broken links.....here is my attempt at the code, which is
erroring out with 'can't find field "|" referred to in your
expression'.

HERE IS THE CODE (which I found online):

Private Sub Command463_Click()
On Error GoTo Err_Command463_Click

Dim PIDNumber As String
Dim Sql As String
Dim rs As Recordset

Sql = "SELECT * FROM " & [One Pager Status Reports] & " ORDER BY PID"

Set rs = CurrentDb.OpenRecordset(Sql)

With...

Read more

Viewing all articles
Browse latest Browse all 50

Trending Articles