I wanted to did script with hb_hrbRun() , in which exist xbrowse . Sorry , but I'm getting error : "Unknow or unregistered symbol XBROWSENEW" . As I can understand , this one exist in xbrowse.ch . This include is directed in my prg file .
Prg script :
- Code: Select all Expand view
#include "FiveWin.ch"
#include "xbrowse.ch"
function uzsak_brw()
local oWnd, oBrw
MsgInfo( "Start of script ..." )
dBUseArea( .t., "sqlmix", "SELECT * FROM uzsakym", "uzsakym", .T., .F. )
DEFINE WINDOW oWnd MDICHILD OF WndMain() TITLE "Uzsakymai"
@ 0, 0 XBROWSE oBrw OF oWnd ALIAS "uzsakym"
oBrw:GoBottom()
oBrw:CreateFromCode()
oWnd:oClient := oBrw
ACTIVATE WINDOW oWnd ON INIT oBrw:SetFocus() VALID ( UZSAKYM->( dbclosearea() ), .t. )
return( NIL )
It not reach - MsgInfo( "Start of script ..." ) .
How to solve this problem ?
With best regards !