Jump to content

External ("Web-ClientIP";0) -for new records only?


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

Recommended Posts

Posted

Calc field - External ("Web-ClientIP";0)

or

Text field - Autoenter - by calculation - External ("Web-ClientIP";0)

They both register the IP adress of the person creating a record, but when later changing the record, the IP adress is not registred.

According to the manual: External ("Web-ClientIP", 0) :P Returns the IP (Internet protocol) address of the Web user whose HTTP request is currently being processed by FileMaker Pro Web Companion.

Do I misunderstand 'HTTP request'? Is creating a new record different from altering it? Or is this another 'IWP oddity'?

(Note, that the manual says "Web-ClientIP", 0) (with a comma) and that the line in the program itself is "Web-ClientIP"; 0) (with a semi-colon). I sure hope that the comma in the manual is just a typo, not some sort of easter-egg or undocumented feature... wink.gif)

Posted

OK.

The "Autoenter - by calculation" is just as it says and nothing else. It will autoenter value by calculation when record is created.

So no oddity here smile.gif

Posted

Do I understand correctly, then, that those values, wether auto-entered or calculated, are written only upon the creation of records?

Could you explain to this newbie how I would create a field that apart from auto-enters, auto-updates the info I get from this External command?

I am thinking in the general direction of: if the value of the field changes, then create a new record somewhere (and auto-enter the IP adress).

This relational db stuff is all so new to me, it's hard to get my head around concepts that must be laughably simple for you all frown.gif Let alone implementing them in FM...

This topic is 7740 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.