Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alter default 'Add' button behavior
Message
From
14/06/1999 15:09:02
 
 
To
14/06/1999 15:03:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00229627
Message ID:
00229633
Views:
16
Hi Sylvain --

Yes, and also move from APPEND BLANK to INSERT INTO (fields) with whatever keys generated at the UI level placed into the new record.

A definitive solution though begs the question, where are primary keys generated? By Oracle Sequences or by the UI (VFP)?


>Try turning on table/record buffering. That way, the record won't be added until you issue a TableUpdate().
>
>HTH
>
>>I have a form that is all remote views on an Oracle database. To reduce network traffic, much of the buisiness processing is in the Oracle database. ( Oracle could use lessons in interface builder design from FoxPro!!)
>>My problem comes when I try to add a record. The default(wizard) behavior is to APPEND BLANK, which fails several integraty constraints and invalidates an after insert trigger.
>>My question is: is there an easy way to defer the insert until the data has been entered, or do I really have to go back to the old FP2.6 SCATTER/ GATHER syntax and m.field_name controls and full rewrite of the nav button behavior?
>>Any suggestions will be appreciated.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform