FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Default Values in TSBrowse
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Default Values in TSBrowse
Posted: Thu Mar 02, 2006 11:12 AM

Hello All,

I use a Browse with TSBrowse and autoappend.

Pushing the down key adds a new record.

I want that some fields are already filled in with a function like CopyLastDate() etc.

Is there an example for this problem.

Thanks

Willy Hermans

Posts: 142
Joined: Sun Oct 09, 2005 10:59 AM
Default Values in TSBrowse
Posted: Thu Mar 02, 2006 11:43 AM

DATA bAddRec // custom function for adding record (with your own message) ???

Frank

Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Default Values in TSBrowse
Posted: Thu Mar 02, 2006 12:21 PM

Thanks Frank,

I saw this and added

oLbx:bAddRec := {||MsgInfo("Test")}

This gives no result

Is there a working sample.

Thanks,

Willy Hermans

Continue the discussion