Solved

Save Table Settings

Posted on 2014-09-12
6
263 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 42

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 42

Expert Comment

by:pcelba
ID: 40319625
Is the resource file writable?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 42

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 42

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.

828 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