Thank you for your help!
Maybe I didn't explain myself clear.
I want that
request_id field to be filled automatically with the article id of the 'requests' content, when a user creates a new quote for that request (to link the two contents). One request could have several quotes.
So, the user (a company) opens a list with all the users requests (done).
He chooses to view one of that requests. A content view form is open with all the data for that request. Above that content view form, I put the list with the quotes (using a module). That list must show only the quotes for that request, but the list is empty.
I use the article_id for the request_id field in the requests content. Works fine.
So, to test if the list is working I add some records (articles) in the quotes content. I fill the request_id field of the quotes content wirh the article_id of the requests content, and I made a menu item to open that list. In the search field I wrote a number (article id), that I know is on the requests content, but still get the message 'There is no results'.
Today I use your solutions, just to test the list of the quotes:
Create a new field:
Field Title: Request Id
Field Name: request_id
Field Storage: standard | Article | request_id | ALTER int
In the live value of the field: type=int and variable=id
Didn't work.
change the storage to custom | article | introtext
In the live value of the field: type=string and variable=id
Didn't work :(