Problem with printing button

P

Patrick

HI!!

Iv'e got a little 'glith' in my system. It only hapens
when two or more users are on the same form. One might be
entering data the other view some.

The problem occurs when client1 enters a new contract
number in this form and client2 is view data. Lets say my
form is connected to 1000 records. Client1 is at 1001 and
client2 might be at 459. There not even close to one
another but once client1 is finished with entering her
data she then presses on my printing button. And an error
mesage appear,stating that she needs to save record,
discard changes and another one I forgot....

The code behind my printing is:
DoCmd.PrintOut acSelection, , , , , False
' Prints current record only. (1 page)
Is something missing, whats happening when this command is
executed... Is the system worried because 2 users are on
this form....

Any idea of what might be going-on,
Any help or suggestions welcome...
thanks for any help you can provide,
PAtrick
 
J

Jim/Chris

It sounds like you want to print the current record on a
form. Forms are for viewing, editing, and adding data.
Reports are for printing. Create a report that prinst the
current record on the form. Make sure you put a save
record before the print report command in the code or macro
to reflect the latest changes.

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top