This topic is locked
[SOLVED]

 Copy Page Issue

1/8/2014 12:14:46 PM
PHPRunner General questions
A
andreas.knab author

Hi,
I want a to make a copy of a record with "copy page". In the visual Editor I define a field called USERID with the variable $_SESSION["UserID"].

(In the record to copy this field is empty)

This works perfect when I use the regular "add new" Link and $_SESSION["UserID"] is displayed when the screen appears.

Using the "copy" it stays empty.
When I Limit the "add page" fields, the USERID field is missing and I cannont fill in my variable $_SESSION["UserID"].(Need it to connect with logon)
as I understand the "copy record" button does not really copy a record. It generates a new one and put the values in.
How an where can I select the fields that prepopulate the new entry that my variable $_SESSION["UserID"] will appear?.

(There is no master Detail rel. to this Table)

Thanks

Andreas

A
andreas.knab author 1/8/2014

Hi,

I figured it out. ( the Major Problem with the UserID) .

I removed the Table from the Project did a full build and put the table in again.

configured everything like it was and did a full build again.
Now it works.
Either I configured something wrong with the seurity or phpr has choped the output in some way because of my 1000 trial and error...
I did the same with unselected fields nevertheless appearing in the build.
Works perfect
Thanks

A.