Argument error: MOVEFIRST

Argument error: MOVEFIRST

Postby wzaf » Tue Jan 19, 2010 5:50 pm

Hi all ,

Testing Mysql1.prg with ADORDD , adding a new record (Button NEW) i get the following :

Argument error: MOVEFIRST
Stack Calls
===========
Called from: => WIN_OLEAUTO:MOVEFIRST(0)
Called from: adordd.prg => ADO_GOTOP(555)
Called from: => DBGOTOP(0)
Called from: .\source\classes\WBROWSE.PRG => (b)TWBROWSE_SETFILTER(1991)
Called from: .\source\classes\WBROWSE.PRG => TWBROWSE:GOTOP(1035)
Called from: .\source\classes\WBROWSE.PRG => TWBROWSE:UPSTABLE(1935)
Called from: .\source\classes\WBROWSE.PRG => (b)TWBROWSE_NEW(304)

Somebody can help me ?

Tank you

Walter Zafferami
wzaf
 
Posts: 38
Joined: Tue Sep 30, 2008 11:16 am

Re: Argument error: MOVEFIRST

Postby wzaf » Sun Jan 24, 2010 4:28 pm

I've found that if I call BROWSE() with argument bNew := { || add1record() }
where add1recors is :

append blank
fieldput(1, "" )

all work fine.

In other words: if the first field od the new record is not null , there is no error.
:?:

best regards
Wzaf
wzaf
 
Posts: 38
Joined: Tue Sep 30, 2008 11:16 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 36 guests