GailFialho
Registered User.
- Local time
- Today, 06:55
- Joined
- Nov 20, 2001
- Messages
- 34
Hello Anyone Again!
I guess I'm full of problems this weekend.
As always, thank you in advance to anyone who might have the time to help me out.
First: the tables in question are described under the recent topic "Relationships" 10-13-02 with my name. That problem has been solved, but seems to have crated an even worse one.
At some point in time, I need to move a record from the Watch table to the actual Contracts table. I've accomplished this with a simple append query using the WatchID as criteria followed by
Set rs = db.OpenRecordset("tblContracts")
rs.MoveLast
'Grab the ContractID from the Contract table
Me.ContractID= rs!ContractID
rs.Close
This ID I use to append the WatchHistory records to the ContractHistory table.
Within the code, I then open the Contracts form to the new record. All of this happens quite nicely. At this point, I cannot close the Contracts form. I get the message "You can't perform that action at this time!!". The database locks up and I have to use ctrl+alt+delete.
PLEASE HELP
I guess I'm full of problems this weekend.
As always, thank you in advance to anyone who might have the time to help me out.
First: the tables in question are described under the recent topic "Relationships" 10-13-02 with my name. That problem has been solved, but seems to have crated an even worse one.
At some point in time, I need to move a record from the Watch table to the actual Contracts table. I've accomplished this with a simple append query using the WatchID as criteria followed by
Set rs = db.OpenRecordset("tblContracts")
rs.MoveLast
'Grab the ContractID from the Contract table
Me.ContractID= rs!ContractID
rs.Close
This ID I use to append the WatchHistory records to the ContractHistory table.
Within the code, I then open the Contracts form to the new record. All of this happens quite nicely. At this point, I cannot close the Contracts form. I get the message "You can't perform that action at this time!!". The database locks up and I have to use ctrl+alt+delete.
PLEASE HELP