Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Commiting Single Form in Multiple Form Application

Status
Not open for further replies.

taqmeena

Programmer
Mar 22, 2005
53
0
0
PK
i open Form1 i make changes in it. < yet i have not entered all the Required Fileds.
I open Another Form named Form2.
i make changes in it and Try To COMMIT it.

AN ERROR OCCURED << UNABLE TO INSERT >>
BECAUSE Form1 has some Fields Left Blank. Here Form1 disallowed to Enter Data when i was on Form2.
<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
main Problem is COMMIT statement Attempts to Save Both Forms.
But My Requirement is to Save Only The Current Active Form.

I Tried The WHEN-WINDOW-ACTIVATED & DEACTIVATED TRIGGERS TO Set The Form Validateion Property to Propert_on & Property_off< and Also The Block Property UPDATE_ALLOWED, INSERT_ALLOWED). in WHEN-WINDOW-ACTIVATED & DEACTIVATED TRIGGERS
But It Did Not Worked.
<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Kindly Give Me The Solution That When i Fire Commit Statement only The Active Form Should Be Committed. Not The Form Which is Deactivated.
 
Check out the post built-in. Also try reading the help files :)
 
not Found The Solution.

is There any way we can dissalow to INSERT OR COMMIT on a Form Which is not Currently ACTIVE.

can any body give me this solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top