hi guys, this is related to this thread http://www.scriptcase.net/forum/showthread.php?7065-grid-where-clause-change
as you can see, the idea there is going different, so decided to create a thread to explain it and show my error, perhaps you’ve been through it and can advise
i have a grid that is having global variable [vcoll] to filter that data that being displayed using WHERE [vwhere] or just imagine it WHERE [vcoll]
[vcoll] is set to “In” and if open the grid alone, it asks for a value… if typed manually e.g. ‘1’ it filters the grid and shows like the grid where clause is WHERE coll_id=1 that is fine… if 0 is added (which is the default) it will show all records of the grid… that is perfect…
now, created simple entry form application… 2 blocks… removed all fields… added one virtual (sc field) to block1 and named it {select_coll} with manual values 0,1,2,3… default is 0 and reload if field value changed (all as per instruction of the kind jsb)
created the link of master/detail… added the detail “calling the grid applicaton” to second block… but when form is loaded there is nothing is sowed in block2 at all, only the title of the block… the grid is not displayed at all!
- the field is maped ok… [vcoll] variable is mapped to select field of the form
- gird is working fine with ready to receive the var [vcoll]
this is supposed to load the form, and select_col field control the vcoll variable… but nothing displayes… no indication of anything… don’t know why or what is wrong…
any hint?
i am using sc7, i don’t think bugs are there like in sc8
Mike