Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: vfp back and forth to js

$
0
0
Re: vfp back and forth to js
FoxInCloud
Re: vfp back and forth to js
03/13/2012
01:51:56 AM
3GD040034 Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None
Sorry I don't understand your question
FoxInCloud.MethExec('requery','reports_scx-vmclst1','requery',someVal);

executes reports.scx.vmclst1.requery() on server side
If this method updates reports.scx.vmclst1.waRowSource, FoxInCloud will detect it and send back to browser.

What are expected and obtained result?
Please post any screen shot that can illustrate that

Note : in

FoxInCloud.MethExec('requery','reports_scx-vmclst1','requery',someVal);

the first parameter ('requery') should be a DOM event object.


I have been updating fields sometimes, like date popups, via javascript. To get VFP to recognize changes, I use:

item.simulate'blur')

Works great. But now I want to go the other way, sort of. I called a requery from javascript like this. It worked fine to update the VFP data values:

FoxInCloud.MethExec('requery','reports_scx-vmclst1','requery',someVal);

But after that VFP shows the updated data from the requery. So my question is how to I tell FiC to update the listbox items from what is in VFP?


-- thn (FoxInCloud)


Viewing all articles
Browse latest Browse all 10393

Trending Articles