I HAVE CREATED PROJECT OF SIMPLE LEDGER I HAVE CREATED A SIMPLE MDIFORM AND IN UNLOADQUERY I HAVE COPIED A FILE INTO A FLOPPY DRIVE THROUGY FILECOPY
WHEN I DO NOT OPEN THE FORM WHICH USES CONNECTION WITH THE DATABASE IT WORKS OK
BUT AS SOON I ADD ENTRY OR JUST OPEN THE FORM WHICH ENTERS THE DATA INTO DATABASE AND I CLOSE THE PROJECT IT CREATES ERROR
EITHER TELL ME HOW TO CLOSE DATABASE EITHER IT IS OPEN IN OTHER FORM TO SAVE IT
OR
HOW I CAN MAKE IF COMMAND THAT IF FORM IS SHOWN UNLOAD IT
I USE
IF FORM1.VISIBLE THEN
UNLOAD FORM1
END IF
BUT THE PROBLEM HERE IS THAT IT FIRST LOADS FORM1 THEN UNLOAD IT
WHEN I DO NOT OPEN THE FORM WHICH USES CONNECTION WITH THE DATABASE IT WORKS OK
BUT AS SOON I ADD ENTRY OR JUST OPEN THE FORM WHICH ENTERS THE DATA INTO DATABASE AND I CLOSE THE PROJECT IT CREATES ERROR
EITHER TELL ME HOW TO CLOSE DATABASE EITHER IT IS OPEN IN OTHER FORM TO SAVE IT
OR
HOW I CAN MAKE IF COMMAND THAT IF FORM IS SHOWN UNLOAD IT
I USE
IF FORM1.VISIBLE THEN
UNLOAD FORM1
END IF
BUT THE PROBLEM HERE IS THAT IT FIRST LOADS FORM1 THEN UNLOAD IT