Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

1 form -NEW --> 2 DBs

Featured Replies

Is this possible?

Have a one Add.html page with a single form that will insert some of the fields into One.fp5 and some into Two.fp5?

If

A:Yes

my next

Q: what is the syntax?

thanx

Fair chance is JavaScript.

Without JS: fill All the fields with single submit to file One.

On response page submit correct fields to db Two with inline.

Or set relationship between One and Two.

I guess there are even more ways...

Sorry, no code available

  • Author

great....this is good enough for me. It gives me something to start ... I was hopeing to develop/use some relationships so that might work out.

Now (edited) let me ask about relationships if I may!?

What is the difference between Auto-Enter Lookedup and Calculated value?

I do understand what the words mean but how does it translate in real-life use?

...or bettet yet..how do I simply use Auto-Insert when I type into one DB and have it replicate the (lets say SomeID) into second DB?

so If I have auto number in One.fp5 I would like it be Auto Inserted from One.fp5 into Two.fp5 BY relationship so the two ARE synched up for sure? I know there is a way arrond it by having both fields in both DBs to be Auto-Serial but that is not what I need.....what I nedd is your help smile.gif

Thank you Anatoli!

  • Author

thanx Unable.....I guess I really didn't know what I was getting into with FM and CDML. Meaning....that it takes 70 lines of notepad-coding to "just" do one logical/simple function.....should have kept my mouth shut and never said I can program! smile.gif

Thank you all

  • Author

ok Unable.....I read through all those posts and I already feel tired without even trying to apply it to mu solution smile.gif

I think their conversation was about Value List rather than my post "1 form -NEW --> 2 DBs " where I would like to insert data in to 2 DBs but have only one form constructed on the HTML page. Here is more detail:

------FROM:HTML-----------------------------------

CustomerName:[____________] --->into Customer.fp5

Favorite Quote:[_______________]-----> into Quotes.fp5

...

...

..

.

-----------------------------------------------

Customer and Quotes.fp5 are related and it is Crutial that CustomerName gets to be inserted 1st so it genereates CustomerID (auto-increment) ..which I intend to record also in Quotes.fp5 along with whatever is later entered in Favorite Quote:[_______________]

.....................................maybe anatoli had the fastes solution...2 page thing where the second page could have some hidden field (=Token=CustomerID that was just auto-created) and then inserted into 2nd DB?no?

...sorry bout my "brain-spill" on this post

thanx guys

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.