topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse + EDIT_GET | There are well known tables customer and states and in addition, more tables.
You can use customer and states.
Or you can create your own table and fill some dummy data or 2 rows.
Please try this small sample to view the tables
[code=fw:1c79um45]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="co... |
xBrowse + EDIT_GET | Mr Rao,
IF I create the rowset only with the table CUSTOMER everything is fine. Is there some table that has a relation with this table ? |
xBrowse + EDIT_GET | [code=fw:1xnmjucj]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">TEXT</span> INTO cSql<br /> <span style="color: #0000ff;">select</span> c.* ,s.code as statecode, s.<span style="color: #0000ff;">name</span> as statename<br /> <span style="color: #00... |
xBrowse + EDIT_GET | Mr Rao,
Here is it:
[code=fw:btzyssjr]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Splitter.ch"</span><br /><br /><span st... |
xBrowse + EDIT_GET | I will check it now. |
xBrowse + EDIT_GET | 5th column in the browse shows the field "name" in the query.
This is a field from joined table "states", not the base table "customer"
By default, only the fields in the basetable are editable. Other fields read from joined tables are flagged as readonly.
Now why do you want to modify the name of state in the states ... |
xBrowse + EDIT_GET | In my program, this is a column of other table that I want to edit, that is I'm editing two tables at the same time. I believe I will have to save the content by myself, probably using bOnPostEdit, isn't it ?
I just want the user can type the value in the xbrowse. |
xBrowse + EDIT_GET | Ok.
That means in the above case, we want to save the changed name in states table.
Example, we like to change "Washington" as "Washigton DC" and save in the states table. Right? |
xBrowse + EDIT_GET | Yes, It's. |
xBrowse + EDIT_GET | I suggest two alternatives. In both the cases please remember to read primary key of the joined table also.
1) Update states table at xbrowse level.
[code=fw:ag4v4x8w]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</spa... |
xBrowse + EDIT_GET | Mr Rao,
Thank You. It's working now <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
xBrowse + EDIT_GET | Based on the samples below, I made a small program that create's the browse I want, But the update of field (Cat_Pos = position) is not done.
There is something missing, most likely with the primary keys not included ?
For : PS_category_product I see
id_category
id_product
For : PS_product_lang
id_product
id_shop
i... |
xBrowse + Imagenes | Buenos días foro!!
Tengo un problemilla y es que tengo un array como el siguiente:
{
{1,"Tipo 1"},
{2,"Tipo 2"},
{3,"Tipo 3"},
}
La primera columna puede contener valores desde 1 hasta 5, me gustaría, en base a este valor, mostrar 5 bmp, ¿teneis un ejemplo de cómo hacerlo?
... |
xBrowse + Imagenes | Colega ver si ayuda
[code=fw:1xqi80n6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oCol:<span style="color: #000000;">AddResource</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"COR1"</span> <span style="color: #000000;">)</span> <br /> oCol:<span style="color: #... |
xBrowse + Imagenes | Muchas Gracias Luiz por la información, en nuestro caso era AddBmpFile en vez de AddResource y el tratamiento era con un array, pero haciendo las modificaciones pertinentes me ha funcionado correctamente. |
xBrowse + MySql and SetCheck ( logic field ) | Hi,
Can you share with a sample for logic field with 2 state bitmaps ? I found samples in testxbrw.prg and xbrowgrd.prg . But something can't understand and that isn't working for me , I'm not seeing bitmaps ... <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Here is mine source ... |
xBrowse + MySql and SetCheck ( logic field ) | Please set
[code=fw:uznatcqa]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">Svarbus</span>:<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">{</span> || oQry:<span style="color: #000000;">FieldGet</span><span style="color: #000000;"... |
xBrowse + MySql and SetCheck ( logic field ) | [quote="nageswaragunupudi":1h0ekthr]Please set
[code=fw:1h0ekthr]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">Svarbus</span>:<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">{</span> || oQry:<span style="color: #000000;">FieldGet... |
xBrowse + MySql and SetCheck ( logic field ) | Either you need to show checkbox or combobox. Not both.
If instead of checkbox you like to show combobox.
[code=fw:3jnydvx7]<div class="fw" id="{CB}" style="font-family: monospace;">WITH OBJECT oBrw:<span style="color: #000000;">Svarbus</span><br /> :<span style="color: #000000;">bEditValue</span> &... |
xBrowse + MySql and SetCheck ( logic field ) | [quote="nageswaragunupudi":sdd26ide]Either you need to show checkbox or combobox. Not both.
If instead of checkbox you like to show combobox.
[code=fw:sdd26ide]<div class="fw" id="{CB}" style="font-family: monospace;">WITH OBJECT oBrw:<span style="color: #000000;">Svarbus</span><br /> :<span style="color: #000000;">... |
xBrowse + MySql and SetCheck ( logic field ) | Please let me know the code you have to write to set a new value to a field and save it to the table with TMySql library you are using. |
xBrowse + MySql and column sequence ... | Hi,
I'm trying to rewrite one appl. from dbfs to mysql db . The first problem is to restore clients directed column sequence . That is at first was "order_id,item_id", but client moved columns "item_id,order_id" . Working with dbfs I used Hernans wbrowse class adopted for mine needs . Then I could create array for cod... |
xBrowse + MySql and column sequence ... | Please try
[code=fw:1ikxb54b]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">OF</span> oWnd DATASOURCE oQry ;<br /> COLUMNS <span ... |
xBrowse + MySql and column sequence ... | [quote="nageswaragunupudi":2ijurscf]Please try
[code=fw:2ijurscf]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">OF</span> oWnd DATASOURCE oQry... |
xBrowse + MySql and column sequence ... | To save the last used state of xbrowse, we can save the state with cSaveState := oBrw:SaveState() and in the next session restore the same the state with oBrw:RestoreState( cSavedState )
We need not always specify the column names as literals.
We can use an array like this:
aColNames := { "FIRSTNAME", "LASTNAME", "CI... |
xBrowse + MySql and column sequence ... | [quote="nageswaragunupudi":36mxfuax]To save the last used state of xbrowse, we can save the state with cSaveState := oBrw:SaveState() and in the next session restore the same the state with oBrw:RestoreState( cSavedState )
We need not always specify the column names as literals.
We can use an array like this:
aColNames... |
xBrowse + MySql and column sequence ... | 1. @ r,c XBROWSE .... command itself calls oBrw:SetMySql(oQry). Please remove the specific call to SetMySql in the next line and try.
2. I do not have the version 11.11 with me. In the absence of the actual source code, I may not be able to advise you correctly.
It will be helpful if you can send me the source of xbr... |
xBrowse + MySql and column sequence ... | [quote:36mrnpmd]1. @ r,c XBROWSE .... command itself calls oBrw:SetMySql(oQry). Please remove the specific call to SetMySql in the next line and try.
[/quote:36mrnpmd]
Have you tried this? May I know the result?
I have received the xbrowse.prg. I shall refer to that whenever necessary. |
xBrowse + MySql and column sequence ... | [quote="nageswaragunupudi":2q09qxjb][quote:2q09qxjb]1. @ r,c XBROWSE .... command itself calls oBrw:SetMySql(oQry). Please remove the specific call to SetMySql in the next line and try.
[/quote:2q09qxjb]
Have you tried this? May I know the result?
I have received the xbrowse.prg. I shall refer to that whenever necessa... |
xBrowse + OO Array | Hello,
I have a class for manipulate Arrays like TdataBase, there are method like skip, bof, fieldget fieldname, recno, etc
My question is how can I use xBrowse for navigate in the array like a datasource, I want to define columns with field names not by column number or array position number
With xBrowse is possib... |
xBrowse + OO Array | Marcelo,
I wrote a similar class for arrays some time ago and was also hoping to use it with browses, etc. However, I found that xbrowse can't handle it because it has been modified to handle arrays as arrays. If I remember correctly the issue is that array class doesn't have an alias and if xbrowse doesn't find an al... |
xBrowse + OO Array | Marcelo,
Have you tried to inherit your class to manage arrays from TDataBase and adjust whatever is needed ? (not sure if it will be too messy)
CLASS TArrayData FROM TDataBase
this way the browse will think that its using a TDataBase object.
I agree with James, a generic Class TDataSource would have been the best ... |
xBrowse + OO Array | Antonio,
the inherit from TdataBase is a good idea I will try.
The tDataSource Class will be the best way, I think is not late to implement it
Gracias por la respuesta Antonio y James
saludos
Marcelo |
xBrowse + OO Array | Marcelo,
It seems easy to implement a Class TDataSource, the problem would be regarding the xbrowse that it is not designed for it.
Anyhow, Rao is our XBrowse expert, so he has the final word <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xBrowse + OO Array | I don't see any advantage to inheriting from TDatabase. Almost every method would have to be overridden anyway.
I wrote mine from scratch with all the same data and methods as TDatabase. As I mentioned before, I think the problem I found was with xBrowse needing an alias otherwise it treats the data class as an array ... |
xBrowse + OO Array | James,
The only advantage is that xbrowse then would recognize the TDataArray as a TDataBase object too, and not as an array, anyhow as you explained, many methods would have to be overriden. |
xBrowse + OO Array | Antonio,
What did you have in mind for a TDataSource class?
It seems to me that (ideally) all we need is to assign any data object to xBrowse. Since all data objects would have the same properties and methods then xBrowse would not need to handle all this internally. We could also use these non-dbf database classes a... |
xBrowse + OO Array | Antonio,
yes, tDataSource only need to be an skeleton like interface in java
and James, yes the solution is xBrowse, it needs to work with tDataSource structure
regards
Marcelo |
xBrowse + OO Array | James,
[quote="James Bott":jr8tmhp9]A TDataSource class could be a parent class of these various types of classes that is never actually instantiated by itself, but rather just used as an inheritance source. I have seen this done before.[/quote:jr8tmhp9]
Yes, in OOD they call it an "interface", if I remember correctl... |
xBrowse + OO Array | Enrico,
According to the book, "Business Engineering with Object Technology," by David A. Taylor, P 91, classes that never get instantiated themselves are called "abstract" classes. If they are instantiated themselves, then they are called "concrete" classes.
Perhaps they are also called "interface" classes.
James |
xBrowse + OO Array | James,
[quote="James Bott":1js7pn5r]Enrico,
According to the book, "Business Engineering with Object Technology," by David A. Taylor, P 91, classes that never get instantiated themselves are called "abstract" classes. If they are instantiated themselves, then they are called "concrete" classes.
Perhaps they are also... |
xBrowse + OO Array | James,
I have just been having a look at Borland's Class TDataSource:
[url:1d5pvuzs]http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/DB_TDataSource.html[/url:1d5pvuzs]
and though it has many things that we don't need, we can get some ideas of what we c... |
xBrowse + OO Array | TDataSource is a good idea.
I think FWH would soon implement it. This can be the base class for Arrays, DBF, RecordSets and anything else we can imagine.
As far as XBrowse is concerned:
XBrowse is made to work with any user defined class [b:1buiok0n]PROVIDED[/b:1buiok0n] that you define some methods and data.
There ... |
xBrowse + OO Array | In case you feel implementation of the above suggestion may take time and you want a quick start, please add this one method to your class:
[code=fw:1skskppk]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> SetXBrowse<span style="color: #000000;">(</span> oBrw, a... |
xBrowse + OO Array | Mr Rao,
thanks very much, with the two methods the array (OO) with xBrowse work well, in the first was necessary to add oBrw:setArray( oArray:aData ), without it, xbrowse shows more data that array has, and the navigation work bad, I think I need to review some method like EOF or skipper.
regards
Marcelo |
xBrowse + OO Array | [quote="Marcelo Via Giglio":3sjbm9go]Mr Rao,
thanks very much, with the two methods the array (OO) with xBrowse work well, in the first was necessary to add oBrw:setArray( oArray:aData ), without it, xbrowse shows more data that array has, and the navigation work bad, I think I need to review some method like EOF or s... |
xBrowse + SQLRDD | Saludos a todos:
Estoy Usando SQLRDD y MySQL, y tengo problemas con el xBrowse.
Al elegir un elemento de la lista, ese elemento lo mueve al primero en la ventana asi que es algo molesto.
La pregunta es que debo modificar para eleminar el ordkeyno() por Recno(), sin tener problemas con el Scrollbar del xBrowse.
Ya que... |
xBrowse + SQLRDD | After creating the xBrowse as usual, please add these lines:
[code=fw:3rcuyj57]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bKeyNo</span> := oBrw:<span style="color: #000000;">bBookMark</span><br />oBrw:<span style="color: #000000;">bKeyCount</span> := <span style="color:... |
xBrowse + SQLRDD | Rao,
estoy usando xbrowse+tmysql y en mis grid siempre me agrega un registro al final en blanco y esto provoca extraños comportamientos con felcha arriba, flecha abajo
asi tengo mi codigo
oBrw2 := TXBrowse():New( oDlg )
oBrw2:SetMySql( oQry2, .F. )
probe agregando esto a xbrowse.prg para ver la cantidad de registros ... |
xBrowse + SQLRDD | Mr. Francis
Please see
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=21888&p=116553#p116553">viewtopic.php?f=3&t=21888&p=116553#p116553</a><!-- l --> |
xBrowse + SQLRDD | thanks,
paco |
xBrowse + SQLRDD | [quote="nageswaragunupudi":3if2tylu]After creating the xBrowse as usual, please add these lines:
[code=fw:3if2tylu]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bKeyNo</span> := oBrw:<span style="color: #000000;">bBookMark</span><br />oBrw:<span style="color: #000000;">bKe... |
xBrowse + SetTree() + TDolphin | Gente;
alguien que me pueda brindar un ejemplo sencillo.
gracias |
xBrowse + SetTree() + TDolphin | Esto es lo que hago, aunque me da error (seguramente porque no entiendo el concepto)
[code=fw:r6lijaca]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #B900B9;">// Browse Obras</span><br /> oQryOb:= oConx:<span style="color: #000000;">SelectObras</span><span style="color: #000000;">&#... |
xBrowse + SetTree() + TDolphin | Hola Mario
podrias colocarnos un ejemplo autocontenido que podamos construir para probar lo que estas haciendo...
gracias |
xBrowse + SetTree() + TDolphin | Mario
aqui tienes un ejemplo funcional tomado de los samples de fivewin, donde cambio el uso de ADO por Dolphin
[code=fw:15yfzrl6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#INCLUDE</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="colo... |
xBrowse + SetTree() + TDolphin | Daniel;
muchas gracias! (justo estaba rehaciendo un sample con la DATABASE Tdolphin)
Lo pruebo... (bue... no tengo dudas que que ahora si funcionará)
Saludos |
xBrowse + TDOLPHIN | Ao clicar em um HEADER do xBrowse por ordem numérica e pressionar teclas ALFABÉTICAS, ocorre um erro de GPF.
Resolvido assim:
static FUNCTION DolphinSeek( c, oBrw, cQryWhere )
--->ERRO lRet := ( oQry:Seek( c, cSortOrder, nStart - 1, oQry:LastRec(), .T., .T. ) != 0 )
--->OK lRet := ( oQry:Seek( c, cSortOrde... |
xBrowse + TDOLPHIN | Entonces con ese cambio te funciona bien, si ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xBrowse + TDOLPHIN | Sim, com esta correção funciona bem para mim... |
xBrowse + TDolphin + caracteres chinos(?) | Estimados;
gracias por la paciencia. Estoy retomando con mis proyectos con RDBMS MariaDB y voy tropezando de seguido <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Muestro un browse que inicialmente se importa de un archivo Excel
[img:2icdrgol]http://i795.photobucke... |
xBrowse + TDolphin + caracteres chinos(?) | Did you include
FW_SetUnicode( .t. ) at the beginning of the application? |
xBrowse + TDolphin + caracteres chinos(?) | Mr. Rao
Many thank for your response
I include the function, but in the browse, both registers show it wrong like berfore |
xBrowse + TDolphin + caracteres chinos(?) | Mario, un par de preguntas
El fichero ha sido convertido de Excel a MariaDB y el Borwse muestra la base de datos ya en formato MySql?, o el browse muestra el fichero aun de Excel? |
xBrowse + TDolphin + caracteres chinos(?) | Carlos
El Browse muestra los datos de la tabla, respectiva, MariaDB(MySQL) |
xBrowse + TDolphin + caracteres chinos(?) | Before we try to help you, I want to tell you that I could successfully work with Unicode (UTF8) databases and tables with MySql using ADO and xHarbour. XBrowse, Gets and saving data all works correctly.
I did not test with Dolphin. |
xBrowse + TDolphin + caracteres chinos(?) | Thanks again
Is strange, becouse only 2 registers than 525 imported, are bad.
the registers haven't characters strange:
BARBETTI IVANA ARACELI
FERREYRA MARÍA ALEJANDRA
If I look whith HeidiSQL, they show good
(sorry for my Google english <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><... |
xBrowse + TDolphin + caracteres chinos(?) | [quote="MarioG":23quyy5i]Carlos
El Browse muestra los datos de la tabla, respectiva, MariaDB(MySQL)[/quote:23quyy5i]
Mario, mi nombre es Cristobal <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title=... |
xBrowse + TDolphin + caracteres chinos(?) | <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> eso me pasa por, viejo olvidadizo y presuponer! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Si Cristobal
Probé cambiarle a sin acento y se vé correctamente... au... |
xBrowse + TDolphin + caracteres chinos(?) | Gran descubrimiento gran (porque tengo otra tabla de Apellidos y nombres) y en esta tabla aparecen mas registros con formato extraño
Todos los que tienen Í aparecen con formato extraño
Hasta ahora otras acentuadas y Ñ se ven de forma correcta
Ahora tendría que investigar que otra letra afecta (hablando del otro registr... |
xBrowse + TDolphin + caracteres chinos(?) | Me retracto <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: -->
Algunos con [b:1e9lv6nb]Í[/b:1e9lv6nb] se ven correctos y encontré otro con [b:1e9lv6nb]Á[/b:1e9lv6nb] que no se ve correctamente |
xBrowse + TDolphin EDIT_GET_LISTBOX | Hi ,
Want to do column editing with listbox . Values in array ~ 800 ...
So I tried that :
WITH OBJECT oCol
:bEditValue := { || oQry:preke }
:nEditType := if( lEdt, EDIT_GET_LISTBOX, EDIT_NONE )
:aEditListTxt := aMod
END
Sorry , but trying to open listbox , app hangs ... How can this be solved ... |
xBrowse + TDolphin EDIT_GET_LISTBOX | You may use EDIT_LISTBOX for smaller arrays.
For the kind of arrays having 800 elements etc you may better use an external function to select with EDIT_BUTTON functionality. |
xBrowse + TDolphin EDIT_GET_LISTBOX | [quote="nageswaragunupudi":1y67l5cp]You may use EDIT_LISTBOX for smaller arrays.
For the kind of arrays having 800 elements etc you may better use an external function to select with EDIT_BUTTON functionality.[/quote:1y67l5cp]
OK , understand ... Thanks ! |
xBrowse + TDolphin EDIT_GET_LISTBOX | [quote="Rimantas":1mnxmmmf][quote="nageswaragunupudi":1mnxmmmf]You may use EDIT_LISTBOX for smaller arrays.
For the kind of arrays having 800 elements etc you may better use an external function to select with EDIT_BUTTON functionality.[/quote:1mnxmmmf]
OK , understand ... Thanks ![/quote:1mnxmmmf]
Changed EDIT_LISTB... |
xBrowse + TDolphin EDIT_GET_LISTBOX | [quote:11bwwpi1]Error E0005 Outer codeblock variable 'XVAL' is out of reach [/quote:11bwwpi1]
Yes.
We can not use the parameter of the main codeblock inside another codeblock used within the main codeblock.
We need to create a function for that. |
xBrowse + TDolphin EDIT_GET_LISTBOX | [quote="nageswaragunupudi":34m1xwp7][quote:34m1xwp7]Error E0005 Outer codeblock variable 'XVAL' is out of reach [/quote:34m1xwp7]
Yes.
We can not use the parameter of the main codeblock inside another codeblock used within the main codeblock.
We need to create a function for that.[/quote:34m1xwp7]
Thanks , Rao ! Und... |
xBrowse + TDolphin EDIT_GET_LISTBOX | [quote="Rimantas":2xqlxsb6][quote="nageswaragunupudi":2xqlxsb6][quote:2xqlxsb6]Error E0005 Outer codeblock variable 'XVAL' is out of reach [/quote:2xqlxsb6]
Yes.
We can not use the parameter of the main codeblock inside another codeblock used within the main codeblock.
We need to create a function for that.[/quote:2xq... |
xBrowse + TDolphin EDIT_GET_LISTBOX | [code=fw:239ly795]<div class="fw" id="{CB}" style="font-family: monospace;">WITH OBJECT oCol<br /> :<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">{</span> || oQry:<span style="color: #000000;">preke</span> <span style="color: #000000;">}</span><br /> :<span style="c... |
xBrowse + TDolphin EDIT_GET_LISTBOX | [quote="nageswaragunupudi":2rh0nvp2][code=fw:2rh0nvp2]<div class="fw" id="{CB}" style="font-family: monospace;">WITH OBJECT oCol<br /> :<span style="color: #000000;">bEditValue</span> := <span style="color: #000000;">{</span> || oQry:<span style="color: #000000;">preke</span> <span style="color: #000000;">&... |
xBrowse + TMySQL | nuevamente.
ahora tratando de migrar de dbf a sql, algun colega por aqui que me ayudara con un pequeño ejemplo de un query sobre un xbrowse y su busqueda incremental?
gracias
paco |
xBrowse + TMySQL | Mira el blog de William SQLCMD. Te será de gran ayuda. Yo aún no intento el paso a TMySql.
Saludos. |
xBrowse + TMySQL | FranciscoA,
El blog es <!-- m --><a class="postlink" href="http://wmormar.blogspot.com">http://wmormar.blogspot.com</a><!-- m --> |
xBrowse + TMySQL | Si uasa la clase Tdolphin , sera como usar database, te lo digo por experiencia que conozco muy poco de MYSQL, con ayuda de un colega y la clase TDP fue muy facil, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
xBrowse + TMySQL | Amigo con esto es para la busqueda
FUNCTION PlisBuscar(nKey,oDatos,oTabla,oOrden,oLbx,cbusca,cSelect)
*-----------------------------------------------------
Local cQuery,campo
DEFAULT cSelect := "*"
If nKey=8
cbusca:= SubStr(cbusca,1,Len(cbusca)-1)
cQuery:="SELECT "+ cSelect + " FROM "+oTabla+" WHERE "+oOr... |
xBrowse + TMySQL | William, I'm sorry.
Jose Luis, revisa tu email.
Saludos a ambos. |
xBrowse + TMySQL | probare suerte
gracias a todos
saludos
paco |
xBrowse + Tree sample does not work. | Hi Mr. Rao,
I can't run the example you sent in the previous topics in the forum. I compiled this example using buildh32.bat in the example directory. . When I press the "Tree" button, the application exits without any errors. (fwh 23.04 + Harbour + msvc )
Can you please help?
Thanks.
[code=fw:11i34pug]<div class="... |
xBrowse + Tree sample does not work. | Hi,
Can anyone compile the above code and run it without errors?
Thanks. |
xBrowse + Tree sample does not work. | The above program is a part of fwh\samples\xbrtree.prg
This was working till FWH2102 but failing in later versions,
We are looking into this.
Please give us a little more time. |
xBrowse + Tree sample does not work. | [quote="nageswaragunupudi":10x428lr]The above program is a part of fwh\samples\xbrtree.prg
This was working till FWH2102 but failing in later versions,
We are looking into this.
Please give us a little more time.[/quote:10x428lr]
Ok. thank you. |
xBrowse + Tree sample does not work. | This is fixed in FWH2307, soon to be released.
We can also make it work with the following fix to METHOD SetTree(...) in XBrowse.prg
1) Please locate this line in METHOD SetTree(...) and delete or comment out this line:
[code=fw:2m0hdrv7]<div class="fw" id="{CB}" style="font-family: monospace;"> ::<span style=... |
xBrowse + Tree sample does not work. | not only should xbrowse do it automatically but the settree() should set the field (of the array or db) to do the grouping,
maybe selecting it from a combobox "normal", "tree"
and also make the search work
with [b:ryc0i33t]GET oGet VAR cSeek[/b:ryc0i33t] and [b:ryc0i33t]COMBOBOX oBrw:oSortCbx[/b:ryc0i33t]
example... |
xBrowse + Tree sample does not work. | The new fwh 23.07 release resolved the first problem but I not understood how male the search Run as xbrowse search ( with get and combobox) |
xBrowse + bBarGetValid | Hi Friends,
Do you know how [b:1fr10ems]bBarGetValid[/b:1fr10ems] works ? I tried by the way bellow, but valid clausule is not performed.
[code=fw:1fr10ems]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oCol:= oLbx<span style="color: #000000;">[</span><span style="color: #000000;">3</span><spa... |
xBrowse + bBarGetValid | bBarGetValid is not working as of now. |
xBrowse + bBarGetValid | Mr Rao,
But will you fix it ? |
xBrowse - change columns dynamically | How can I change change columns dynamically in xBrowse
Thanks in advance
Otto |
xBrowse - change columns dynamically | Otto:
Can you elaborate about what you want to do?
Randal |
xBrowse - change columns dynamically | Hello Randal,
I would like to change between these 2 views:
[img:lwh0ye4q]http://www.atzwanger-software.com/fw/xclip1.jpg[/img:lwh0ye4q]
[img:lwh0ye4q]http://www.atzwanger-software.com/fw/xclip2.jpg[/img:lwh0ye4q]
Thanks in advance
Otto |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.