Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7448 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am creating a database where I can take payments as a lump sum or as a down payment and several monthly payments. I need to be able to choose multiple payment types for each record. So, you could choose a bank account (check) for your down payment and a credit card for the monthlies, or one credit card for the down payment and another for the monthlies... or any other combination of payments. What is the best way to implement this?

Thanx in advance

Posted

Yanster said:

What is the best way to implement this?

Sounds like a job for a value list attached to a field formatted to provide checkboxes. wink.gif

Posted

Right, but I also want to include detailed information about each payment type. If it is a credit card then I would want to fill in CC number, exp date, name on card, etc. If it is a bank account then i would need account number, bank name, and routing number.

thanx

yan

Posted

Hi Yan,

One way to do that would be to provide an ancillary table (or some extra fields in the current record) and a couple of (conditional/invisible) portals to collect the required info when a particular choice is selected.

You would presumable want a separate table in which to set out the various payments and due dates (against which you'd store the selected method for each payment), but the details to go with that method would be stored centrally against the individual's ID.

Posted

michael,

thank you much for the example. i've been trying to deconstruct it and figure out how it works... what i still do not get is how the visisble/invisible relationship is set between the value of the "Show Portal" field. could you please explain

Posted

The show/hide portal is based on a relationship between the constant field and the Show Portal? field, which via script toggles between 0 and 1. The constant is always 1.

Set the properties of the portal so it is invisible and place all of the objects you wish to show/hide inside this portal. Since the portal only exists if there is a valid relationship, in this case when Show Portal? = 1, the objects placed inside the portal show/hide when you toggle the show portal? field between 0 and 1.

Hope this clears things up a bit. I am better at doing, not so good at explaining.

Michael Myett

Posted

great!!! did it.

i think i understand this now. another related issue though...

in the example that you made what is the best way to create a new related record from that popup menu, not just select an existing record?

thanx

yan

Posted

Navigate to the customer file and just create a new record then go back to original file, or edit the customer relationship to allow creation of related records and create new records through the first name and last name fields in the invisible portal file.

This topic is 7448 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.