Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 7 Jahren
Letzter Beitrag:
vor 7 Jahren
Beteiligte Autoren:
Brian.pcs.crosspost, Brian, DarrenF, Alexandre Leclerc.pcs.crosspost

How to make a record "Sticky" in WebDev 16

Startbeitrag von Brian.pcs.crosspost am 07.07.2011 13:46

Hello,

Using WebDev 16 how do I display a newly created or modified record in the table display after returning from a form? Trying to make the record "Sticky" sort to speak.

For some reason i can't figure this out.

Any and all help appreciated.

Cheers

Brian

Message forwarded from pcsoft.us.windev

Antworten:

TableDisplay(TableControl,taCurrentSelection)?

The default is "taStart", so it redisplays the table content from the beginning...

Or you could try; taCurrentRecord or taCurrentFirst - it depends on your requirement :spos:

von DarrenF - am 07.07.2011 16:01
So this cannot be done in WebDev 16?

I have it done in WinDev but I am unable to make a record "Stickey" in WebDev.

Help please...

Cheers

Brian

Message forwarded from pcsoft.us.windev

von Brian.pcs.crosspost - am 13.07.2011 13:15
Hi Brian,

Darren has given an answer you might not have seen:
http://forum.mysnip.de/read.php?27131,106139,106157#msg-106157

This is a basic behaviour to do so. In the case of WebDev, if you are
not using the classic mode, you might need to use another trick: simply
pass in parameter the ID newly created and then reseek the DB before
calling TableDisplay. It is not fresh in my memory if such a trick would
be required. Try Darren's suggestion first.

Best regards,
Alexandre Leclerc
Message forwarded from pcsoft.us.windev

von Alexandre Leclerc.pcs.crosspost - am 13.07.2011 13:26
Sorry about that.

I did not receive a reply via email. Thought I ticked of that box.

Thank you and I will try today to see if it works.

Cheers

Brian

von Brian - am 13.07.2011 13:32
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.