Save Table Settings

Posted on 2014-09-12
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.
Question by:RVL
  • 4
  • 2
LVL 41

Expert Comment

ID: 40319598
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.

Author Comment

ID: 40319611
yes i have SET RESOURCE ON  in my startup program and in the command window i type CLOSE ALL
LVL 41

Expert Comment

ID: 40319625
Is the resource file writable?
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

LVL 41

Expert Comment

ID: 40319631
What command do you use to display tables?

Author Comment

ID: 40319645
how do i check if the resource file is r/w? i use BROWSE LAST NAME oGrid_Aleris_Corp NOWAIT
LVL 41

Accepted Solution

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

You may also issue:

USE (SYS(2005)) AGAIN ALIAS WhatEver

and try to write into it.

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

And you may use:
which will create resource record just for your purpose.

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
record audio from internet site 11 116
VMware ESXi 5.5 and SIM 4 115
PC freezes and shutdowns becoming more frequent 17 105
physical application forms to digital format 2 27
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

867 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

13 Experts available now in Live!

Get 1:1 Help Now