S
Simon Harris
Hi All,
I have developed a basic invoicing system. I am seeing error popup on
certain machines, but not all. For example the system works Ok my machine,
but not on a clients - Both machines have the same version of Windows (xp
pro sp1) and Access (2k)
Problem is this - User opens a form, hits my save button which calls this
code:
Private Sub AddAmendOrderCloseButton_Click()
'User has clicked exit button, so close the form
ReturnValue = MsgBox("Are you sure you want to close with out saving?",
vbDefaultButton2 + vbQuestion + vbOKCancel, "Delete Record")
Select Case ReturnValue
Case vbOK
DoCmd.Close acForm, "FRM_add_amend_order"
Case vbCancel
End Select
End Sub
When they click Ok, they get a box popup, title is 'Enter paremter value'
required parameter is: 'Forms!FRM_add_amend_order_!SUBFRM_view_parts_orders'
'SUBFRM_view_parts_orders' is in fact a list box - This can have a value, or
can be empty, depending on whether or not the user entered any data, the
error seems to popup either way.
So - They click Ok to the error, the form closes and they get another box,
title is again 'enter parameter value' required paremter is
'Forms!FRM_add_amend_order!ID' which is used in the query that drives
'SUBFRM_view_parts_orders' (Mentioned above)
What I really dont understand is why this works on my machine, but not on
the clients (I've seen it happen) I have tried copying my version across to
them, and doing a compact and repair in case it was corrupt in some way. (I
always have the most up to date version anyway) also tried copying back onto
my machine - no errors. WEIRD!!!
Hopefully someone can point me in the right direction to diagnose this mess!
Kind regards,
Simon.
--
-
* Please reply to group for the benefit of all
* Found the answer to your own question? Post it!
* Get a useful reply to one of your posts?...post an answer to another one
* Search first, post later : http://www.google.co.uk/groups
* Want my email address? Ask me in a post...Cos2MuchSpamMakesUFat!
I have developed a basic invoicing system. I am seeing error popup on
certain machines, but not all. For example the system works Ok my machine,
but not on a clients - Both machines have the same version of Windows (xp
pro sp1) and Access (2k)
Problem is this - User opens a form, hits my save button which calls this
code:
Private Sub AddAmendOrderCloseButton_Click()
'User has clicked exit button, so close the form
ReturnValue = MsgBox("Are you sure you want to close with out saving?",
vbDefaultButton2 + vbQuestion + vbOKCancel, "Delete Record")
Select Case ReturnValue
Case vbOK
DoCmd.Close acForm, "FRM_add_amend_order"
Case vbCancel
End Select
End Sub
When they click Ok, they get a box popup, title is 'Enter paremter value'
required parameter is: 'Forms!FRM_add_amend_order_!SUBFRM_view_parts_orders'
'SUBFRM_view_parts_orders' is in fact a list box - This can have a value, or
can be empty, depending on whether or not the user entered any data, the
error seems to popup either way.
So - They click Ok to the error, the form closes and they get another box,
title is again 'enter parameter value' required paremter is
'Forms!FRM_add_amend_order!ID' which is used in the query that drives
'SUBFRM_view_parts_orders' (Mentioned above)
What I really dont understand is why this works on my machine, but not on
the clients (I've seen it happen) I have tried copying my version across to
them, and doing a compact and repair in case it was corrupt in some way. (I
always have the most up to date version anyway) also tried copying back onto
my machine - no errors. WEIRD!!!
Hopefully someone can point me in the right direction to diagnose this mess!
Kind regards,
Simon.
--
-
* Please reply to group for the benefit of all
* Found the answer to your own question? Post it!
* Get a useful reply to one of your posts?...post an answer to another one
* Search first, post later : http://www.google.co.uk/groups
* Want my email address? Ask me in a post...Cos2MuchSpamMakesUFat!