<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>26 May 2016 04:12:00 Z</lastBuildDate><pubDate>26 May 2016 04:12:00 Z</pubDate><description>Hi&#13;
I have been battling with stored procedures called by triggers. Initially I was using MyFile within the stored proc but this kept giving me an error that it was not available unless called by a trigger! I worked around that eventually by using HDeclareExternal &amp; it all works nicely now from within the app. HDeclareExternal("SYSCONT.FIC","SYSCONT") HDeclareExternal("QUOTE.FIC","QUOTE") QDate is int = DateToInteger(Quote.QuoteDate) However, if I access the file via HFControlCentre the procedure crashes out at the first file access with "No analysis opened. The Quote file is not described". I would like the trigger to work correctly no matter how the file is accessed. Any ideas?&#13;
&#13;
Thanks&#13;
&#13;
David</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57831-hfcs-triggers-amp-stored-procedures/read.awp</link><title>HFCS - Triggers &amp;amp; Stored Procedures</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
