Search found 3172 matches: table

Return to advanced search

Re: FWHMYSQL Insert failing

When you face such problems, I suggest you compare the
oCn:InsertSQL( ... )
with
oCn:CreateTableSQL( <table> )

or
Please create a small sample that we can execute at our end on the above cloud server.
by nageswaragunupudi
Sat Apr 06, 2024 1:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMYSQL Insert failing
Replies: 6
Views: 395

Re: FWHMYSQL Insert failing

... nil This is working well for me: https://imagizer.imageshack.com/v2/xq70/923/043Ca8.png This is the creation SQL of the table CREATE TABLE `testinsert` (  `id` int NOT NULL AUTO_INCREMENT,  `ftext` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,  ...
by nageswaragunupudi
Sat Apr 06, 2024 1:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMYSQL Insert failing
Replies: 6
Views: 395

Re: incremental search on Xbrowse

Hi Rao,
yes,
this is default in my Std management of table,

::oBrw:SetMultiSelectCol( )

I rarely disable it using the property :

::oBrw:oMultiSelCol:lReadOnly := .T.

TIA
by mauri.menabue
Wed Mar 27, 2024 8:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: incremental search on Xbrowse
Replies: 10
Views: 1987

records on xbrowse

I can Know how many records are on xbrowse ?
I explain

I would like to activate the arrows for moving the records (up and down) only when the records are greater than the normal number displayed in the xbrowse table
by Silvio.Falconi
Mon Mar 25, 2024 9:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1669

Re: Problema super raro

... DB Provider for ODBC Drivers Args: [ 1] = C SELECT * INTO oRsWrk FROM oRsDet oRsWrk and oRsDet are RecordSets. You should not use recordsets. Use table names. if the table names are "original" and "work", then the sql is SELECT * INTO [WORK] FROM [ORIGINAL]
by nageswaragunupudi
Sun Mar 24, 2024 10:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2082

Re: Problema super raro

...        oRsWrk:ReQuery()         oRsWrk:MoveFirst()  The temporary table has 5 records, checked with navicat, but the xBrowse only shows 2 records Best regards
by Armando
Sun Mar 24, 2024 6:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2082

Re: Problema super raro

... ways. Let us now try the 1st method. FWH provides a cloud server for our testing. Let us use this server for our tests. Creating temporary table with data from the permanent table: oCn:Execute( "SELECT * INTO [TBL_TEMP] FROM [TBL_PERM]" ) Copying back modified data from ...
by nageswaragunupudi
Sun Mar 24, 2024 12:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2082

Re: Problema super raro

Mr. Rao:

Yes, I want to copy the records from a non-temporary table and pass them to a temporary table to modify them
and then return them to the non-temporary table

There are 5 records in the non-temporary table and only 2 are passed to the temporary table

Best regards
by Armando
Sun Mar 24, 2024 1:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2082

Re: Problema super raro

Do you want to copy all records from one table to another table and display them in XBrowse?
by nageswaragunupudi
Sat Mar 23, 2024 10:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2082

Re: Question about performance RowSet

... := { "aa","bb" }    oCn:Upsert( "states", nil, { aRow } )endif  But insert not work. Table `states` has 3 fields: id, code, name where id is autoincrement field This should work: oCn:Upsert( "states", nil, { { ...
by Eroni
Wed Mar 20, 2024 7:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4007

Re: Question about performance RowSet

... // not found, then inserts aRow := { "aa","bb" } oCn:Upsert( "states", nil, { aRow } ) endif But insert not work. Table `states` has 3 fields: id, code, name where id is autoincrement field This should work: oCn:Upsert( "states", nil, { { ...
by nageswaragunupudi
Wed Mar 20, 2024 3:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4007

Re: Question about performance RowSet

I am thinking of adding method to get a single record from a table ( existing or new ) and then edit and save the data. May be something like this: oRecord := oCn:Record( cSql, [lBlank] ) // returns FW_Record / TDataRow objectoRecord:Edit() ...
by Eroni
Wed Mar 20, 2024 1:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4007

Re: Question about performance RowSet

As you indicated above, if we want to edit just one record in a table, we can aRow := oCn:QueryResult( "select * from states where code='WA'" )//We get a single dim array { "WA", "Washington" }// Edit the array and ...
by Eroni
Wed Mar 20, 2024 1:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4007

Re: Question about performance RowSet

... editing data without RowSet object? Please try this and let us know.   oData := TArrayData():New( oCn, "select * from <tablename> limit 1" )   oData:Record(,.t.):Edit()   oData:SaveData() I am thinking of adding ...
by nageswaragunupudi
Sat Mar 16, 2024 1:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4007

Re: Question about performance RowSet

... age from customer where id = 100" this function returns 58, instead of {{58}} As you indicated above, if we want to edit just one record in a table, we can aRow := oCn:QueryResult( "select * from states where code='WA'" )//We get a single dim array { "WA", "Washington" ...
by nageswaragunupudi
Sat Mar 16, 2024 10:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4007
Next

Return to advanced search