Solved

Save Table Settings

Posted on 2014-09-12
6
260 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
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.
0
 

Author Comment

by:RVL
ID: 40319611
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
ID: 40319625
Is the resource file writable?
0
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

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

Author Comment

by:RVL
ID: 40319645
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
ID: 40319678
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

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