Home » Developer & Programmer » Forms » list box
list box [message #197250] Tue, 10 October 2006 14:12 Go to next message
lalylatheef
Messages: 8
Registered: October 2006
Junior Member
i have a list box eg. allowance type. when list is changed, im able to view the corresponding items for eg. if allowance type is flat the flat details in one frame (cums from the same block),if allowance type is education the education details in another frame (same block)

im able to insert.. when executing the query and when next button is clicked, the details cums correct. i have used show_view and hide_view in post query according the the allowance type.
if :allow_code=1 then
show_view('flat_view');
hide_view('study_view');
elsif :allow_code=3 then
show_view('study_view');
hide_view('flat_view');
elsif :allow_code=2 then
hide_view('study_view');
hide_view('flat_view');
end if;

but when going backwords, the allowance details doesnt appear.

plz help....
Re: list box [message #197322 is a reply to message #197250] Tue, 10 October 2006 23:59 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I suggest that you use Post-Query to populate values in a record and use When-New-Record-Instance to hide and show views.

David
Previous Topic: calling a form from activeX control
Next Topic: Help Needed
Goto Forum:
  


Current Time: Fri Sep 20 12:33:23 CDT 2024