FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Argument error: MOVEFIRST
Posts: 38
Joined: Tue Sep 30, 2008 11:16 AM
Argument error: MOVEFIRST
Posted: Tue Jan 19, 2010 05: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

Posts: 38
Joined: Tue Sep 30, 2008 11:16 AM
Re: Argument error: MOVEFIRST
Posted: Sun Jan 24, 2010 04: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

:?:

Continue the discussion