Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link ABC: Using multiple update procedures 1999-03-30 -- Dennis E. Evans Newsgroups: topspeed.products.c5pe
With ABC you can have multiple update forms,
In the ThisWindow.Run method comment out the
standard code
Omit('###')
GlobalRequest = Request
UpdateYourProcedure
ReturnValue = GlobalResponse
####
just before that code add a function to call your menu
Then add this
Self.AskProcedure = GetFormChoice()
GlobalRequest = Request
execute Self.AskProcedure
UpdateProc_1
UpdateProc_2
UpdateProc_3
end
ReturnValue = GlobalResponse
I would think you could also do this, but have not tried,
GlobalRequest = Request
execute GetFormChoice()
UpdateProc_1
...
end
ReturnValue = GlobalResponse
I had a similar problem recently and I used the current tab to set
the property. The browse has two tabs, with different fields.
In the Control event, NewSelection for the tab
Brwx.AskProcedure = choice(?CurrentTab).
Hope it helps.
Dennis
Today is November 21, 2024, 7:33 am This article has been viewed 35342 times. Google search has resulted in 8 hits on this article since January 25, 2004.
|
|