Delete last record of a table
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
Delete last record of a table
Hello All,
I am facing a problem which is existing in all my browses.
I show a table within a browse.
If i delete a record in the middle of the browse, all work as expected.
The problem is when i delete the last record of the browse (not lthe last record of the table, records can be filtered). The record is correctly deleted but the new last record is displayed twice.
If i close the browse and reopen it, all is ok again.
I am facing a problem which is existing in all my browses.
I show a table within a browse.
If i delete a record in the middle of the browse, all work as expected.
The problem is when i delete the last record of the browse (not lthe last record of the table, records can be filtered). The record is correctly deleted but the new last record is displayed twice.
If i close the browse and reopen it, all is ok again.
Raymond Fischbach
www.mouches.org
www.mouches.org
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
Antonio,
Of course I did it. I just forgot to mention it in my post. I even tried to do a gotop() before refreshing but the problem persists.
Thank you anyway,
Raymond
Of course I did it. I just forgot to mention it in my post. I even tried to do a gotop() before refreshing but the problem persists.
Thank you anyway,
Raymond
Raymond Fischbach
www.mouches.org
www.mouches.org
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
Antonio,
I did not try it with the emulator but directly on the Pocket PC.
Regards
I did not try it with the emulator but directly on the Pocket PC.
Regards
Raymond Fischbach
www.mouches.org
www.mouches.org
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
Antonio,
Thank you for your help to install the emulator.
I did install it and tried the application with the same results as in the pocket pc
Here is the code snippet :
@ 14.4,20.5 BUTTON "Sup." SIZE 40, 35 ACTION (SuiDel(aParams,oSui,oSui:Recno()),oSui:GoTop(),oBrw:refresh(),oBrw:SetFocus())
oSui = Tdatabase of the dbf
Thanks for any hint
Raymond
Thank you for your help to install the emulator.
I did install it and tried the application with the same results as in the pocket pc
Here is the code snippet :
@ 14.4,20.5 BUTTON "Sup." SIZE 40, 35 ACTION (SuiDel(aParams,oSui,oSui:Recno()),oSui:GoTop(),oBrw:refresh(),oBrw:SetFocus())
oSui = Tdatabase of the dbf
Thanks for any hint
Raymond
Raymond Fischbach
www.mouches.org
www.mouches.org
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
Sure, but i will need some time as i have other urgent things to do now.
Raymond Fischbach
www.mouches.org
www.mouches.org
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
Antonio,
I have sent you by prv mail a modified tutor10 that shows the problem.
HTH,
Raymond
I have sent you by prv mail a modified tutor10 that shows the problem.
HTH,
Raymond
Raymond Fischbach
www.mouches.org
www.mouches.org