General information
Category:
The Mere Mortals Framework
>>If so, what should I use as view paramaters to just be able to refresh the form with the current info just being updated?>
>
>Got it...you're absolutely right (of course, you already knew that, didn't you <bg>?). I have made the following changes to CBizObjForm to fix this problem, and you can do the same:
>
Hmm... When I look at this code, it seems that this would always reset cFindUniqueID back to 0. (the original value)
Here is what I am looking for... Knowing this is remote data, I want the user to be able to refresh whatever the current record is.
For example, lets say the user does a find, and chooses an employee ID. The id is passed to the form, which puts that value in my view parameter and does a requery.
Ok, so now I am looking at John's records. If I press the refresh button I expect it to go to the back end and get John's records again. (your code would blank the screen since 0 would now be back in cFindUniqueID?)
So, I guess my quesition is, why is it necessary to set cFindUniqueID to '' ??? Perhaps adding a property called uLastFoundID or such? If you have to blank cFindUniqueID... then I could set thisform.uLastFoundID to populate my parameter.
Does this make sense?
Thanks for all your help!
BOb
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only