On 1/25/10 10:30 PM, jvandal wrote:
>
> I have a file with two drop down fields selected from other files. I have a
> add button that  has code  "self.Form.new()". i also have a save button that
> has code "self.Form.save()".  I have coded the BeforeSave in editing the
> dForm. I also have the afterSave coded . When I run , click the add button,
> and I select the two dropdown lists and fill the other two fields I click
> save button, but I do not find the record in the file
> I used this add and save button in another program and it saved the record.

"two drop down fields from other files": Do you mean that each drop-down links 
to a 
different database table?

After the save do you find that anything's been saved anywhere?


> Is that proper or did I do something that is weird

 From what you are saying you did, it sounds like you are doing it right.


> I created an AppWizard program but I couldn't findthe code that related to
> the buttons.?

The new/save/etc. buttons on the toolbar and in the menu in appwizard run code 
that 
exists in dabo.lib.datanav.Form. They do things like self.Form.new() or 
self.Form.saveAll().

Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to