I am still trying to convert a Financial Services package into Access. It was originally written in RPG to run on an IBM System/36 but converted to Visual Basic as the company who run it want rid of the System/36. VB proved difficult to distribute so hence the conversion to VBA. The latest problem is that of "The Second Client".
Each policy record has a mandatory client number, but the second client number may be zero. I have added a second copy of the Clients file to the query that populates the Policy Enquiry form (using the default Clients_1 alias) and that works OK, but in doing so I have limited the records to those which have values in both Client fields. Apart from having two copies of the form, can anyone suggest how to modify the SQL string so it only gets the second record if it needs to? I would prefer not to have duplicate forms, as a policy can have up to four Broker references so that would mean eight copies!!
Many thanks in advance
Peter Kinsman
Each policy record has a mandatory client number, but the second client number may be zero. I have added a second copy of the Clients file to the query that populates the Policy Enquiry form (using the default Clients_1 alias) and that works OK, but in doing so I have limited the records to those which have values in both Client fields. Apart from having two copies of the form, can anyone suggest how to modify the SQL string so it only gets the second record if it needs to? I would prefer not to have duplicate forms, as a policy can have up to four Broker references so that would mean eight copies!!
Many thanks in advance
Peter Kinsman