Soundsmith
Programmer
I have a routine in Access 2000 that has worked fine for months, like the following:
Code:
Select Case theForm
Case theForm = "FrmAddTrans"
Set rst = Form_frmAddTrans.RecordsetClone
obal = rst("orig_bal")
Case theForm = "FrmRecalcAll"
Set rst = Form_frmRecalcAll.RecordsetClone
obal = rst("orig_bal")
Case Else
Set rst = Form_frmClaims.subPay.Form.RecordsetClone
obal = Form_frmClaims.orig_Bal
End Select
[\code]
It has suddenly stopped functioning - I pass it the form name, "frmAddTrans" and it steps past the case selection to the next case.
I have verified the name, and even checked in Immediate:
? theform="FrmAddTrans"
True
yet it continues to skip past the case.
Any ideas? I've tried rebooting to no avail.
Help, please!
David 'Dasher' Kempton
The Soundsmith
[URL unfurl="true"]http://www.thesoundsmith.com[/URL]