open stack problem

Robert Brenstein rjb at robelko.com
Thu Jun 16 19:22:36 CDT 2005


>
>I tried this Klaus but no luck
>
>the only one I now get to work is
>
>answer file "Select a database file:" \
>          with filter "*.abd"
>          --with filter "Armbase Database File" & return & "*.abd"
>           --with filter "Armbase Database File" & "*.abd"
>    if it is empty then exit to top
>   put it into tFileName
>   toplevel stack it
>end doFileOpen
>
>I get a dialogue box but when I click on "open" I dont get a stack. It may
>be a stack corrupt problem since I can open one with a different name from
>the default, however, even if I delete the previous default mydatabase.abd
>and resave a new one I still can't open it?? Weird

The problem might be with your using extension "abd" instead of "rev" 
for a stack.

It is safer to check after answer file with

  if the result is "cancel" or it is empty then exit ...

Robert


More information about the use-livecode mailing list