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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with multiple users

Status
Not open for further replies.

grobbu

Programmer
Jun 25, 2002
40
BE
Hi there....i got an application that runs perfect on a standalone PC.....
But now the app has to run on a server with multiple users using it......
I get a lot of errors now....
When the code benath is runne i get an error 2501 at the command DoCmd.RunCommand acCmdSave

Anyone got an idea how this comes........?

Private Sub cmdNieuwDocument_Click()
'------------------------------------------------
'- De tabel waarin alle beschikbare sjablonen -
'- staan wordt geleegd -
'------------------------------------------------
DoCmd.OpenQuery "qryTabelSjabloonLegen"

stDocName = "frmNieuwDocument"
DoCmd.RunCommand acCmdSave
DoCmd.OpenForm stDocName, , , , acFormAdd
End Sub

tnx......
 
mp9

Neat little "smileycon"!

MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
I agree... Nice Smily...

I also think the save command in this sub is not needed... it may be giving you an error because it may not know what to save...

Just thoughts...

--James
junior1544@jmjpc.net
Life is change. To deny change is to deny life.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top