Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

Save Table Settings

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
RVL
Asked:
RVL
  • 4
  • 2
1 Solution
 
pcelbaCommented:
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
 
RVLAuthor Commented:
yes i have SET RESOURCE ON  in my startup program and in the command window i type CLOSE ALL
0
 
pcelbaCommented:
Is the resource file writable?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
pcelbaCommented:
What command do you use to display tables?
0
 
RVLAuthor Commented:
how do i check if the resource file is r/w? i use BROWSE LAST NAME oGrid_Aleris_Corp NOWAIT
0
 
pcelbaCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now