RE: Networks, Shadows, Forms & Indices
Peter Wayne wrote:
-------------------------------
I would copy down the index definitions and then delete the
.cdx file for the table. Then recreate the indexes - which you can do from either a workstation or the server. Just for kicks,recreate the index froma workstation - make sure you are logged in to the server database and not the shadow. Finally, run network optimize again.
Is there something peculiar about your index?
My Reply:
-------------------------------
Believe it or not, the just for kicks idea seems to have worked. Here is a brief step by step of what I have done.
Closed A5 on the server
Opened A5 on my client
Opened Z:database for nti.adb
Right Click table to define indexes
Deleted the index (only one)
Closed - replied yes to rebuild
Closed database
Opened database
Right Click table to define indexes
Defined my index (a simple include all, sort ascending index on the last name field)
Build index
Set as primary
Closed define indexes window
Opened define indexes window - index was still there
Opened form
Find by Key
LNAME: - Yippee!!!
Went to the server
Opened database (c:datadatabase for nti.adb)
define indexes
"Can be viewed but not changed"
Looks OK
Opened form
Kind by Key
LNAME: - Yippee!
Closed database
Back to my client
Closed Database
Deleted all previous shadow data in program filesa5v4shadowdata
Opened database
Check Form - Find by Key = still OK
Network optimize (to above location)
Closed database
Opened shadow database (at above location)
Opened Form
Find by Key
LNAME: - Yippee!!!
Now, why did this work? Not sure I care, but someone might. What will happen at other clients? Will I need to repeat the above on each? Only time will tell.
Thanks all. Any additional insight will still be appreciated.
Sean
Peter Wayne wrote:
-------------------------------
I would copy down the index definitions and then delete the
.cdx file for the table. Then recreate the indexes - which you can do from either a workstation or the server. Just for kicks,recreate the index froma workstation - make sure you are logged in to the server database and not the shadow. Finally, run network optimize again.
Is there something peculiar about your index?
My Reply:
-------------------------------
Believe it or not, the just for kicks idea seems to have worked. Here is a brief step by step of what I have done.
Closed A5 on the server
Opened A5 on my client
Opened Z:database for nti.adb
Right Click table to define indexes
Deleted the index (only one)
Closed - replied yes to rebuild
Closed database
Opened database
Right Click table to define indexes
Defined my index (a simple include all, sort ascending index on the last name field)
Build index
Set as primary
Closed define indexes window
Opened define indexes window - index was still there
Opened form
Find by Key
LNAME: - Yippee!!!
Went to the server
Opened database (c:datadatabase for nti.adb)
define indexes
"Can be viewed but not changed"
Looks OK
Opened form
Kind by Key
LNAME: - Yippee!
Closed database
Back to my client
Closed Database
Deleted all previous shadow data in program filesa5v4shadowdata
Opened database
Check Form - Find by Key = still OK
Network optimize (to above location)
Closed database
Opened shadow database (at above location)
Opened Form
Find by Key
LNAME: - Yippee!!!
Now, why did this work? Not sure I care, but someone might. What will happen at other clients? Will I need to repeat the above on each? Only time will tell.
Thanks all. Any additional insight will still be appreciated.
Sean
Comment