G
Guest
I have a data entry application which uses a form with a Combo Box to bring
up data in my Client (one) subform and in my Activity (many) subform. My
problem is that when I enter a new Client record with a new Activity record,
my ClientId is not being placed into my Activity subform data - I guess
because the ClilentID is not assigned until I add the Client record to the
file. I am trying to solve this by using Macros with Command Buttons. My
first Command Button is in the Client area to execute a macro which is
supposed to SAVE the record before proceeding, but that's not working. I get
the error message 3022 which states that the change I requested to the table
were not successful because they would create duplicate values in the index.
How can I get this Client record into the file before I start keying the
Activity data?
Another question while I'm at it, is there a Macro way of saving the
ClientID using Macros so that I can retrieve the Client record back after
saving it????
Sorry, for all this mess, but as you can tell, I need help.
A second minor irritation is that whenever I try to start keying in a Client
Record, I always get the message "You can't assign a value to this object.
The object may be a control, etc".
up data in my Client (one) subform and in my Activity (many) subform. My
problem is that when I enter a new Client record with a new Activity record,
my ClientId is not being placed into my Activity subform data - I guess
because the ClilentID is not assigned until I add the Client record to the
file. I am trying to solve this by using Macros with Command Buttons. My
first Command Button is in the Client area to execute a macro which is
supposed to SAVE the record before proceeding, but that's not working. I get
the error message 3022 which states that the change I requested to the table
were not successful because they would create duplicate values in the index.
How can I get this Client record into the file before I start keying the
Activity data?
Another question while I'm at it, is there a Macro way of saving the
ClientID using Macros so that I can retrieve the Client record back after
saving it????
Sorry, for all this mess, but as you can tell, I need help.
A second minor irritation is that whenever I try to start keying in a Client
Record, I always get the message "You can't assign a value to this object.
The object may be a control, etc".