Search found 4301 matches: field

Return to advanced search

Re: Mysql recover values usaing field names

for modifying and editing you can use:
Code: Select all  Expand view
oRs:descript := cNewValue
oRs:fetcha := date()
// .....
oRs:Save()
by nageswaragunupudi
Thu Nov 21, 2024 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mysql recover values usaing field names
Replies: 3
Views: 195

Re: Mysql recover values usaing field names

I found oRs:DESCRIP Works
by PAUL SIMM
Thu Nov 21, 2024 9:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mysql recover values usaing field names
Replies: 3
Views: 195

Re: Mysql recover values usaing field names

Code: Select all  Expand view
? oRs:FieldGet( 5 )  // works
? oRs:DESCRIP  // works. Case not sensitive
? oRs:Fields( "DESCRIP" ):Value // works. Ado syntax compatible
 
by nageswaragunupudi
Mon Nov 18, 2024 7:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mysql recover values usaing field names
Replies: 3
Views: 195

Mysql recover values usaing field names

How can I recover values from a SELECT using the field name and not its position in th array? oCn :=maria_Connect( cHost,cUser,cDb,cPwd ) IF oCn=NIL msgwait("Error conectando con eventos en la nube","") return nil ENDIF cQwery:="SELECT ...
by PAUL SIMM
Mon Nov 18, 2024 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mysql recover values usaing field names
Replies: 3
Views: 195

Re: cloud or not cloud

... (!$dbfHandle) {    die("Error: Unable to open DBF file.");}// Get the number of records and fields$totalRecords = php4dbf_numrecords($dbfHandle);$totalFields = php4dbf_numfields($dbfHandle);// Initialize statistics$ageGroups ...
by Otto
Fri Nov 15, 2024 9:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cloud or not cloud
Replies: 34
Views: 1035

xbrowse(autosort) + tdolphin - erro

I have an object 'xbrowse', using tdolphin. The main query has a relationship between tables, which coincidentally has a field in the table with the same name: "key". But this field is not part of the query. SELECT p.key, p.data, c.name FROM orders AS p LEFT JOIN customers ...
by MGA
Wed Nov 13, 2024 9:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 174

Re: Problem with Filter and Tdatabase

MarcoBoschi wrote:Silvio,
have you some records in which the year of field named "data" is 2024
In the screenshot I see 1971

Bye


yes that is the beginning of the archive, I tried to make a filter in emagdbu


Image
by Silvio.Falconi
Wed Nov 06, 2024 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Filter and Tdatabase
Replies: 3
Views: 89

Re: Problem with Filter and Tdatabase

Silvio,
have you some records in which the year of field named "data" is 2024
In the screenshot I see 1971

Bye
by MarcoBoschi
Wed Nov 06, 2024 1:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Filter and Tdatabase
Replies: 3
Views: 89

a DBCOMBO review

... ORDER : to use an index when filling the combo, in this case it is a TAG of an index FOR : is for the data to be filled accoring a condition e.g. field->state = 'IL' TOOLTIP : no need to explain Important! The specification of ITEMFIELD and LISTITEM can be not only the name of the field, but ...
by Marcelo Via Giglio
Mon Oct 28, 2024 4:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a DBCOMBO review
Replies: 0
Views: 100

Una revision de DBCOMBO

... utilice un indice en el llenado del combo, en este caso es un TAG de un indice FOR : es para los datos del llenado cumplan con esa condicion ej. field->state = 'IL' TOOLTIP : no es necesario explicar Importante! la especificacion del ITEMFIELD y LISTITEM no solo puede ser el nombre del campo, ...
by Marcelo Via Giglio
Mon Oct 28, 2024 4:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una revision de DBCOMBO
Replies: 3
Views: 168

Re: FWH 24.09 y bOnPostEdit

... the edited row? Especially when it comes to a "query" that has "INNER JOIN" included... Do you need to edit and modify a field of a joined table? Try this sample: function EditJoin()   local oCn, oRs, cSqlTEXT INTO cSqlSELECT C.ID, C.City, C.State, S.name AS StateName, ...
by nageswaragunupudi
Mon Oct 28, 2024 7:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWH 24.09 y bOnPostEdit
Replies: 11
Views: 394

Re: Extending SetScope()

... you confirm, it is fast. Have you acode snipped where you use Xbrowse Header gets and use temp index instead of filter. You would make local ... Field Tag, Naam, Kleur Filter = "WIC" $ UPPER( TAG ) .AND. "POLO" $ UPPER( NAAM ) .AND. "WHITE" $ UPPER( KLEUR ) Index ...
by Marc Venken
Sun Oct 20, 2024 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Extending SetScope()
Replies: 15
Views: 561

Re: Extending SetScope()

... FoxPro introduced Rushmore technology and our present DBFCDX uses similar technology to optimize filters. Since we already have and index on the field "INVOICE", INCOICE="ABCDEF" is highly optimized. That means we can use filters instead of Scopes to limit visibility of parts ...
by nageswaragunupudi
Sat Oct 19, 2024 3:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Extending SetScope()
Replies: 15
Views: 561

Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON

3) Is it possible to show the bitmap in a column ONLY when the cell is editable ? In my sample, the field is only editable when i add a new row and field->codprd is empty. i modified the Method PaintCell() of the class this way: original code:    //----------------------------------------------------------------------------//  ...
by ralph
Fri Oct 18, 2024 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
Replies: 5
Views: 215

Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON

... OBJECT oBrw      :nEditTypes    := EDIT_GET      :lFastEdit := .t.      :lF2KeyToEdit := .t.      :bPastEof   := { || iif(!empty(field->codprd),dbappend(), ), oBrw:RefreshCurrent() }      WITH OBJECT :aCols[ 1 ]         :nEditType  := EDIT_GET_BUTTON  ...
by ralph
Thu Oct 17, 2024 8:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
Replies: 5
Views: 215
Next

Return to advanced search