Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a quick question. Hopefully...
I've got an inline table defined as follows:
inputfield DatabaseVersion;
inputfield ConnectionDetails;
DatabaseDetails:
LOAD * INLINE [
DatabaseVersion, ConnectionDetails, Active
, ,
, ,
];
Two rows so far, with three fields 2 of which are inputfields.
This means that users change the values and these changes are preserved between loads.
My question is this, lets assume that the user's have entered some data into the inputfields, what should the result of these two peeks be? :
let x = peek( 'ConnectionDetails',0,'DatabaseDetails');
let y = peek( 'ConnectionDetails',1,'DatabaseDetails');
I think it should be giving me the stuff the user entered...but instead im getting x ="" and y=""
The blank place holders in the inline load.
can anyone tell me how to get the data that the users have entered?
regards,
James
You cannot get the values a user has entered, they are user specific and there is no way to fetch them for another user. The Application itself doesn't hold any inputfieldvalues if the app is published through QVS, the inputfield values is stored in the *.qvw.shared file (unreadable format).
The only way to store the input field values and load them into the application so other users can see them is to build a macro that stores the inputfield values into a csv or similiar file, and during the reload load the data from that file. I've written a quite long forum post about a possible solution for your problem aswell as some general things you need to understand about Inputfields. Search the forum and you shall find it.
EDIT: