Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Save Table Settings

Posted on 2014-09-12
6
Medium Priority
?
274 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 43

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 43

Expert Comment

by:pcelba
ID: 40319625
Is the resource file writable?
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 43

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 43

Accepted Solution

by:
pcelba earned 2000 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.

722 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