Hi!
I found out that in the hash sometimes there are 'RECORD_ID' and 'record_id' variables. What is the differece?
Thx
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
RECORD_ID and record_id
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: RECORD_ID and record_id
Hi,
In general, you should use #RECORD_ID# in PHP BS, AS, BE etc. events as well as in Browse SQL. This Hash Cookie will be replaced with the primary key of the record that is being opened in an edit form,
When running a procedure using nuRunPHPHidden() or nuRunPHP(), use the Hash Cookie #record_id#, which will contain the primary key of the record being edited in the form.
In general, you should use #RECORD_ID# in PHP BS, AS, BE etc. events as well as in Browse SQL. This Hash Cookie will be replaced with the primary key of the record that is being opened in an edit form,
When running a procedure using nuRunPHPHidden() or nuRunPHP(), use the Hash Cookie #record_id#, which will contain the primary key of the record being edited in the form.