Dev2k: Call_Form doesn't & Commit_Form won't!

From: Donald Raymond Lloyd II <don_at_copland.udel.edu>
Date: 1997/09/03
Message-ID: <5ukr2n$kb0$1_at_copland.udel.edu>#1/1


I'm a VB guy trying to get a handle on Developer 2000 and am running into two specific problems:

Call_form doesn't work. I'm using it with the no_hide option to try to display a custom dialog box, but nothing happens. No errors, no beeps, but no form either. Any ideas what might be causing this?

The other problem I'm having is with commit_form. I think I understand why it's happening, but I'm not sure of a way around it. Basically I have a block that contains only a list box populated from a record group, plus a second block that's pointed to a table. I'm using the list to navigate the data - in other words, click the list box to jump to the corresponding record.

The way I'm doing this is to simply set the data block's 'where' clause when list is clicked. This works fine for navigation, but if the user enters a new record and tries to save it, the data saves successfully but D2K is unable to its repositioning after the commit because the new record doesn't necessarily match the 'where' criteria.

Is there any D2K function along the lines of VB's 'FindFirst'? That would be the ideal solution, but barring that, any other suggestions?  

-- 
Don Lloyd    don_at_udel.edu 
Visit Six In A Mustang  http://www.geocities.com/MotorCity/Downs/8895
Received on Wed Sep 03 1997 - 00:00:00 CEST

Original text of this message