yesno problem
Barry Kahn
barryk at caravanbeads.net
Wed Apr 30 16:04:23 PDT 2008
I'm sending some array output to a second database and would like to
have a dialog to select whether to append to or replace the data in
the target db.
I have this:
yesno "Add to existing data? (No will replace)"
if clipboard() contains "Yes"
OpenFile "+ at theExportText"
call AppendToFile
else
call ReplacetheFile
endif
AppendtoFile is this:
OpenFile "DB_9 all_items"
Window "DB_9 all_items"
OpenFile "+ at theExportText"
and the ReplacetheFile replaces the + with the &.
When I run it, I get "Sorry, the file won't open" -- although the
target DB does become the front window.
Suggestions very welcome--as usual, I bet it's something simple.
Thanks,
bk
Barry Kahn
Caravan Beads, Inc.
915 Forest Ave
Portland ME 04103
800-230-8941
fax: 207-874-2664
www.caravanbeads.net
barryk at caravanbeads.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://provue.com/pipermail/qna/attachments/20080430/3837c8b6/attachment.html
More information about the Qna
mailing list