Applies to: ABC procedure, posted in the Clarion 8 group.
Problem as reported
Code placed in Local Objects, Window Manager, after Open Files did not fire. It opened the file (Access:CTRLGL.Open and .UseFile), did a SET and a Next, copied three fields to global variables, and otherwise showed "Sorry There are no files to process".
What the thread found
- One reply: right-click the procedure in the app tree, choose Source, step through the filled embeds and check the code is where you expect; the guess was the Init method. Add output to DebugView there to see what runs.
- Another asked why the file is opened a second time after Open Files. The poster thought that was correct.
- A third explained: if the file is in the procedure's Table Schematic, the generated source already has the open, so it appears twice. Remove the file from the local schematic and, under Global Individual File Overrides, tick the Generate check box; then the code should be fine.
- The poster later posted the generated source. It shows the Relate open,
SELF.FilesOpened = True, then his code at Priority 7800 with anAccess:CTRLGL.Close, thenSELF.Open(SCREEN). - He thanked the posters, but no one stated whether it fired in the end.
Caveats
- The posted source shows the code inside Init, so the "does not fire" cause is not settled.
- The advice about the schematic was not confirmed by the poster.
Today (2026)
Not reproduced. This entry records a 2014 report; a reader on a current build is asked to confirm or close it.
Sources: Peter (Sep 2014, the question and the source), Bruce J., Wolfgang O., Steve P. (Sep 2014) in sv.clarion.clarion8.