dbTalk Databases Forums  

Error while using pack command

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Error while using pack command in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AKN
 
Posts: n/a

Default Error while using pack command - 05-10-2004 , 08:59 AM






pls ignore my previous mail.. there was some typo mistake....

Hi,

I'm in the stage of learnig the visual foxpro.

Through wizard, I have created form which has all the builtin command
buttons like TOP,NEXT,ADD,DELETE etc. I have written some foxpro
statement in the event procedue "add.click". I have some records in the
database, after deleting the records, the records are marked for
deletion, but it is not deleting the records permanently. Initally it
was deleting the records, after adding the some statement in the
add.click event procedure, this was not deleting. Pls let me know what
was wrong in this. Do I need to add some statement in the delete.click
event procedure. ?

Since I'm having the above issue, I have added the below statement in
the exit.click button.
dodefault()
use customer
pack
use

This works fine as long as I work from foxpro command button window.
But, when I make exe file and run the program, everything works fine,
but while clicking exit button. It displays an error saying
that "database must open expilicitely". I think the pack is creating a
problem.

Pls let me know solution on this.

Thanks
AKN


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.