Search found 27 matches: syntactical

Return to advanced search

Re: What does this syntax mean? hHead := {=>}

... object. The "dual" nature of the Hash data type, being partly similar to arrays and partly to objects, finds its expression also in the syntactical notation that can be used for retrieving a value from a Hash. Both operators are supported, the array element operator [ ] and the : send ...
by hua
Wed Jul 03, 2019 3:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: What does this syntax mean? hHead := {=>}
Replies: 11
Views: 1344

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

... e 0  A couple of things .. as you probably know ( perhaps from your comment ) .. oRs:RecordCount() returns a numeric value .. you also may have a syntactical error .. ( perhps ) oRSet:RecordCount should be coded like this --- oRSet:RecordCount() with the ending parenthesis. Suggestions : If oRset:RecordCount() ...
by Rick Lipkin
Thu Apr 13, 2017 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1399

Re: Request for Advice

... table calls to recordsets, the quicker the migration will happen... it just 'clicked' with me. If you need help, this is the best place to get syntactical advice and suggestions .. Press on my friend !! Sql Server and ADO is a good choice. Rick Lipkin
by Rick Lipkin
Fri Aug 23, 2013 5:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Request for Advice
Replies: 16
Views: 4908

Re: ADO with Oracle

Mulyadi

Try your insert code with this statement:
Code: Select all  Expand view

cSql := "INSERT INTO mulyadi.MyTable (KODE,KET) VALUES ( '" + txtKode + "','" + txtKet + "')"
 


I made some syntactical changes per my last post... Let me know how it works.

Rick Lipkin
by Rick Lipkin
Thu Sep 20, 2012 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO with Oracle
Replies: 11
Views: 2064

Re: Refresh SQL Select in Listbox

... .. if you do not use a form adjust your code accordingly. Hopefully you will be able to modify the code to fit your situation and fix any untested syntactical errors I may have. Please note there are other ways of coding this to achieve the same result .. If you need any more examples or explanations ...
by Rick Lipkin
Wed Aug 22, 2012 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh SQL Select in Listbox
Replies: 5
Views: 1315

Re: Syntactical compiler error

Rao

It WORKS in all situations ... :Click() :item(0) and in the case of a hyphen "-" in the Dom string ..

Thank you !!
Rick Lipkin
by Rick Lipkin
Sun Jul 31, 2011 4:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

function OSendMulti( o, cMsg, uVal )   local aMsg  := HB_ATokens( cMsg, ":" )   local n     := Len( aMsg ) - If( uVal == nil, 0, 1 )   local p   AEval( aMsg, { |c| o := OSendEx( o, c ) }, 1, n )   if uVal != nil      o        := OS...
by nageswaragunupudi
Sat Jul 30, 2011 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

Rao The parameters seem to now work :Click() and :Item(0) .. however, now the "-" is erroring .. I appreciate your tenacity .. I know it is difficult to test this without the code. Very appreciative ! Rick Lipkin cSFD := "document:forms:tsf:lst-ib"OSendMulti( IE, cSFD+":...
by Rick Lipkin
Sat Jul 30, 2011 6:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

Please try this now: function OSendMulti( o, cMsg, uVal )   local aMsg  := HB_ATokens( cMsg, ":" )   local n     := Len( aMsg ) - If( uVal == nil, 0, 1 )   local p   AEval( aMsg, { |c| o := OSendEx( o, c ) }, 1, n )   if uVal != nil...
by nageswaragunupudi
Sat Jul 30, 2011 6:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

Rao You have solved the hyphen "-" and the :item(0) function .. however the code does not now handle this type of method where you have an action .. like Click() cSSBD := "document:all:go" OSendMulti( IE, cSSBD+":Click()", ) // in func_lib.prg Application =========== Pa...
by Rick Lipkin
Sat Jul 30, 2011 5:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

Mr Rick Now please try this function and let me know how this works. function OSendMulti( o, cMsg, uVal )   local aMsg  := HB_ATokens( cMsg, ":" )   local n     := Len( aMsg ) - If( uVal == nil, 0, 1 )   local p&n...
by nageswaragunupudi
Sat Jul 30, 2011 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

Rao A single function would be great .. I have been looking at the differences between your two iterations thinking I could test for one type of parameter or another .. I did try a dual try catch end try and got it working .. one other possibility that would defeat this strategy would be a combinati...
by Rick Lipkin
Fri Jul 29, 2011 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

Yes.
Macros can not handle "-" and OSend (as I am using) can not handle "(x)"
I am thinking of how to make a better function to handle either situation.

Soon I shall post here
by nageswaragunupudi
Fri Jul 29, 2011 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

Rao YES .. the functions and parameters are now working .. however the dom string that contains a "-" hyphen again is broke cSFD := "document:forms:tsf:lst-ib"OSendMulti( IE, cSFD+":Value", cPARTS )   // in func_lib.prg  Application =========== Path and name: C:...
by Rick Lipkin
Fri Jul 29, 2011 2:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893

Re: Syntactical compiler error

Please try this revised function as it is: function OSendMulti   local n   PARAMETERS o, cMsg, uVal   if PCount() > 2      if ( n := RAt( ":", cMsg ) ) > 0         o     := &&#...
by nageswaragunupudi
Fri Jul 29, 2011 1:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syntactical compiler error
Replies: 16
Views: 5893
Next

Return to advanced search