Solved

Save Table Settings

Posted on 2014-09-12
6
258 Views
Last Modified: 2014-09-16
I have a startup program that opens more than one table then i organize my tables. After that i type close then restart my startup program and the tables are like i never changed them.
0
Comment
Question by:RVL
  • 4
  • 2
6 Comments
 
LVL 41

Expert Comment

by:pcelba
Comment Utility
What means "i organize my tables"? Do you shuffle tables displayed in a browse window on the screen? Or something else?

FoxPro remembers window position when you have RESOURCE file defined. So what is your SET RESOURCE setting at the beginning of the startup program?

The reason of your problems can be somewhere else.
Where do you type "close"?  CLOSE command causes an error exception and your error handler can be the reason. etc. etc.
0
 

Author Comment

by:RVL
Comment Utility
yes i have SET RESOURCE ON  in my startup program and in the command window i type CLOSE ALL
0
 
LVL 41

Expert Comment

by:pcelba
Comment Utility
Is the resource file writable?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 41

Expert Comment

by:pcelba
Comment Utility
What command do you use to display tables?
0
 

Author Comment

by:RVL
Comment Utility
how do i check if the resource file is r/w? i use BROWSE LAST NAME oGrid_Aleris_Corp NOWAIT
0
 
LVL 41

Accepted Solution

by:
pcelba earned 500 total points
Comment Utility
It should be visible from the location. E.g. Program files folder is r/o by default.

You may also issue:

SELECT 0
USE (SYS(2005)) AGAIN ALIAS WhatEver
BROWSE

and try to write into it.

You may also find the appropriate record and check the ReadOnly column.

And you may use:
BROWSE NAME oGrid_Aleris_Corp NOWAIT  PREFERENCE YourPrefName
which will create resource record just for your purpose.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
Viewers will learn how to use the Hootsuite Dashboard.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now