# Repository not properly refreshing?

**URL:** <https://forum.servoy.com/t/repository-not-properly-refreshing/11804>\
**Category:** Classic Servoy\
**Created:** [February 19, 2010, 6:00pm UTC](https://forum.servoy.com/t/repository-not-properly-refreshing/11804 "2010-02-19T18:00:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nromeou](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@nromeou](https://forum.servoy.com/u/nromeou)\
**Post date:** [February 19, 2010, 6:00pm UTC](https://forum.servoy.com/t/repository-not-properly-refreshing/11804/1 "2010-02-19T18:00:11Z")

</div>

Hi, im using servoy 5.0 and sybase11

And well let me explain my situation, when i created my database i defined a table with a composite PK that i later modified turning it to a single field PK.  
Now the problem is that in servoy the fields that used to be part of the PK are still marked as PK. I tried erasing them from the base and when i did servoy recognized that and erased them, so i created them again and voila servoy still marks them as PK!!  
This is giving me problems when using selectRecord(), cause i pass the PK, the single field but it just returns false… cause servoy is still considering the other fields as PK(Or thats what i suppose).

Any suggestions of how could i make servoy realize theyre no longer PKs?

Thanks

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [February 22, 2010, 12:24pm UTC](https://forum.servoy.com/t/repository-not-properly-refreshing/11804/2 "2010-02-22T12:24:49Z")

</div>

nromeou,

Please create a case in our support system describing the scenario.

[http://crm.servoy.com/servoy-webclient/ … oy\_support](http://crm.servoy.com/servoy-webclient/solutions/solution/servoy_support)

As a workaround you can drop the table from within Servoy Developer and create the table again (either using developer or your sql tools, the latter requires a developer restart).

Make a backup of the data first.

Rob

---

<div class="post-metadata">

**Author:** ![nromeou](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@nromeou](https://forum.servoy.com/u/nromeou)\
**Post date:** [February 23, 2010, 6:55pm UTC](https://forum.servoy.com/t/repository-not-properly-refreshing/11804/3 "2010-02-23T18:55:18Z")

</div>

I want to create the case but it asks me the topic id, wheres that number?

---

<div class="post-metadata">

**Author:** ![nromeou](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@nromeou](https://forum.servoy.com/u/nromeou)\
**Post date:** [February 23, 2010, 7:08pm UTC](https://forum.servoy.com/t/repository-not-properly-refreshing/11804/4 "2010-02-23T19:08:40Z")

</div>

Created case 276431 in support system

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [February 23, 2010, 7:09pm UTC](https://forum.servoy.com/t/repository-not-properly-refreshing/11804/5 "2010-02-23T19:09:10Z")

</div>

In the URL of your browser you see “t=” and a number.  
For this thread it’s “t=13736”  
So you can refer to this topic with the number 13736.

And by the way, the topic ID in the support system is optional.

---

<div class="post-metadata">

**Author:** ![nromeou](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@nromeou](https://forum.servoy.com/u/nromeou)\
**Post date:** [February 23, 2010, 7:16pm UTC](https://forum.servoy.com/t/repository-not-properly-refreshing/11804/6 "2010-02-23T19:16:20Z")

</div>

Thanks robert, and yeah noticed that later and created it without the id but thanks for answering
