Microsoft
Software
Hardware
Network
Question : access coding-print single record problem
I attach my simple database-completion matters
I have abutton in the fom called print "completion matters"
this is supposed to print a single record from the table using the ID field to select a single record for the report.
I have used this type of formula before but when i use this one i get a prompt for an ID number.
OK, this works if you know the record number but previously when I have used the code behind the button i get a single entry without having to prompt for the ID
Not sure where i am going wrong.
The code is behind the print completion matters button
Attachments:
completion-matters.accdb
(400 KB)
(File Type Details)
completion matters database
Answer : access coding-print single record problem
try this codes
Private Sub print_single_matter_button
_Click()
DoCmd.OpenReport "completion matters", acViewPreview, , "[ID]=" & Me.[ID]
End Sub
Random Solutions
Design issue - not enough room on screen.Subforms/Pop ups/Tabs
mysql stored proc parameter
DataBinding: 'System.Data.Common.DataRe
cordIntern
al' does not contain a property with the name 'IdKeuze'.
Thunderbird inexplicably crashing....
Serial interface on Cisco 1841 needs to be shut-no shut repeatedly
Jboss fails to start up with liferay portal application
Unable to access exchange webmail from a remote office
How do I trawl through an Excel 2003 range and copy certain cells of certain rows to another worksheet in VBA
asp.net javascript close windows without prompting.
Insert into MySQL Table from MSSQL Insert Trigger