topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse edit dialog and navigation | Nages,
I compile it
then I press the first button "Add" and the exe make an error
[img:2b4gmas2]https://i.postimg.cc/PJqfDVPy/er.png[/img:2b4gmas2]
change this line
DEFINE BUTTON OF oBar PROMPT "Add" [b:2b4gmas2]ACTION oBrw:EditSource( .t. )[/b:2b4gmas2]
instead of
DEFINE BUTTON OF oBar ... |
xBrowse edit dialog and navigation | is it compatible with tdatabase ? |
xBrowse edit dialog and navigation | Thanks for the correction. I corrected the source code above.
The code for xbrowse and edit dialog is the same for TDatabase also.
You can link the edit dialog directly to the tdatabase object and need not link it with xbrowse.
This is the code for TDatabase. Please note that the same xbrowse and dialog code works wit... |
xBrowse edit dialog and navigation | Thanks Nages,
for now I prefer to use tdatabase because in tdata there are many problems that I still can't solve: unfortunately I have two or three modules made with tdata that I have to convert to tdatabase. I want to ask you a question:
I'd like to open the client file from a simple function so that I can also loa... |
xBrowse edit dialog and navigation | When you are using DBFCDX, you need not open indexes separately. You need to do that for DBFNTX only.
If you open the DBF with DBFCDX all the index tags in the .cdx file are all automatically opened.
Just open the DBF and set order to any tag you want.
Use oDbf:SetOrder( "tagname" ) followed by oDbf:GoTop() |
xBrowse edit dialog and navigation | ok
on normal code I opened all files and then on each procedure I made
SELECT CU (CU AREA OF CUSTOMER)
now how I can make to not repeat the string each time tdatabase()...... |
xBrowse edit dialog and navigation | I use a a split dialog. In the upper half are all the edit fields, and in the lower half is the xbrowse. As the highlight bar is moved, the data for the edit fields is changed. It allows my clients the opportunity to see ALL data on a record, move quickly between records, edit instantly ( no popup delays ), and of c... |
xBrowse edit dialog and navigation | I wrong the message |
xBrowse edit dialog and navigation | This original post was about edits with a browse. I was responding to that post with a method I use to make editing of a browse list easier and faster. It's a concept my clients really appreciate. I really don't see how that relates to your question following it. I was strictly addressing the question of edit cont... |
xBrowse edit dialog and navigation | Mr Rao
Thanks for the demo program,yes that is what I was after
On a GET I tried using VAR oRec:Fieldget() but I get a "invalid value" compiler error
I tried using field number and field name as a parameter
Yet this method works ok for MSGINFO(orec:fieldget(2)) or MSGINFO(orec:fieldget("FIRST"))
Not a problem... |
xBrowse edit dialog and navigation | They are not safe.
Please use oRec:fieldname
When we made this class this is how we expect the usage to be. |
xBrowse edit dialog and navigation | Hi Tim,
The screen design is good specially the Icon's on the Title bars. May I ask you to provide the code ( Just Toolbar ) along with Icons ? Thanks in advance...!
Thanks
Shridhar |
xBrowse edit dialog and navigation | Mr Rao
When when adding a new record in a lot of cases the blank fields will need to be auto filled
with data from the previous edit dialog.So I was going to make a copy of oRec:Data and on the
new blank record overwrite the current oRec:aData and oRec:aOrg with data from the copy.
Is there a better way of doing thi... |
xBrowse edit dialog and navigation | All of my coding uses an .RC file for screens. The bar is standard FWH.
Control in .rc file:
[code=fw:2wzusojq]<div class="fw" id="{CB}" style="font-family: monospace;"> CONTROL <span style="color: #ff0000;">""</span>, <span style="color: #0000... |
xBrowse edit dialog and navigation | [quote="reds":3gl86hf6]Mr Rao
When when adding a new record in a lot of cases the blank fields will need to be auto filled
with data from the previous edit dialog.So I was going to make a copy of oRec:Data and on the
new blank record overwrite the current oRec:aData and oRec:aOrg with data from the copy.
Is there a ... |
xBrowse edit dialog and navigation | Thanks for that I will take a look at these
On your example code I want to replace the checkbox and show a bitmap file as below but it never changes from the intial setting.
Also I would like to use the toggle switch (green for on) bitmap that is used in the browser default edit dialog,where
is this located.
Thanks... |
xBrowse edit dialog and navigation | [quote:33i10l7b]Also I would like to use the toggle switch (green for on) bitmap that is used in the browser default edit dialog,where
is this located.[/quote:33i10l7b]
That is not a bitmap. It is a control, SWITCH control. Please see fivewin.ch for usage.
In the example, I posted above, instead of checkbox, use this... |
xBrowse edit dialog and navigation | Any idea why the bitmap doesn't refresh with new value
Thanks for Switch info,though doesn't appear to be setup to run with a resource file
Regards
Peter |
xBrowse edit dialog and navigation | Please try this:
[code=fw:3vl0wo2d]<div class="fw" id="{CB}" style="font-family: monospace;"> @ <span style="color: #000000;">100</span>,<span style="color: #000000;">190</span> <span style="color: #0000ff;">BTNBMP</span> oBtn ;<br /> FILE <span style="color: #ff0000;">"c:<span style="color: ... |
xBrowse edit dialog and navigation | Belated thanks,now working fine
Regards
Peter |
xBrowse edit en un diálogo. | Buenas tardes,
Tengo un diálogo con 3 xbrowses y algún control más, botones, gets, etc. El diálogo está creado desde recursos.
Uno de los xBrowses tienen una columna con edit activado ( nEditType := 1 ). Es un browse de una array.
Si hago dobleclick para editar la columna funciona perfectamente. Sin embargo, si quie... |
xBrowse edit en un diálogo. | Alvaro;
de esta forma tengo declarada la edicion de celda en una columna (funcionando correctamente):
[code=fw:3a99qbrs]<div class="fw" id="{CB}" style="font-family: monospace;"> WITH OBJECT oCol3:= oBrwIns:<span style="color: #000000;">AddCol</span><span style="color: #000000;">(</span><span style="color: #00000... |
xBrowse edit en un diálogo. | Gracias Mario por tu respuesta.
Así lo tengo y me funciona con el dobleclick del ratón. Lo que no puedo es moverme con el teclado y pulsar "Enter" para editar, ya que al pulsar enter el cursor se va al siguiente control, bien sea otro browse o un botón. ¿Alguna idea?
Un saludo,
Alvaro |
xBrowse edit en un diálogo. | Hola Alvaro. No especificas que version usas. Yo utilizo la version 10.06 y lo solucioné así:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=20106&hilit=xbrowse+edit#p106207">viewtopic.php?f=6&t=20106&hilit=xbrowse+edit#p106207</a><!-- l -->
Saludos. |
xBrowse edit en un diálogo. | Hola Francisco,
Muchas gracias. He hecho las modificaciones y ya funciona perfectamente. La versión que tengo de FWH es un poco antigua. La actualizaré en breve. De momento, el problema de la edición ya está solucionado. Gracias por facilitarme el link y gracias a Daniel García-Gil por el post orginal.
Un saludo,
Al... |
xBrowse edit_get cell based on table value at runtime | To All
Again, I am struggling to program xBrowse to be able to edit a cell based on a field in a table. Using this snipit of code I am able to paint the Listbox and the columns edit correctly based on the field 'LockedDown' but when you append a new record the columns that were created as not editable should now be ed... |
xBrowse edit_get cell based on table value at runtime | If it is only a matter of deciding between EDIT_NONE, EDIT_GET depending on a condition, then the simpler way is to assign bEditWhen codeblock to the column,
oCol:bEditWhen := { || <ConditionalExpressionReturning .T. or .F.> } |
xBrowse edit_get cell based on table value at runtime | Rao
Thank you for your suggestion .. I need some additional advice on applying that logic to column 4 which has a 'pull down' array that needs to be defined editable at run-time based on the 'LockedDown' field ..
As can see .. I can activate the column based on the table, but not the additional attributes for EDIT_L... |
xBrowse edit_get cell based on table value at runtime | [code=fw:m0gyg9z5]<div class="fw" id="{CB}" style="font-family: monospace;">oLbxB:<span style="color: #000000;">bChange</span> := <span style="color: #000000;">{</span> | oBr | OnRowChange<span style="color: #000000;">(</span> oBr <span style="color: #000000;">)</span> <span style="color: #00... |
xBrowse edit_get cell based on table value at runtime | Rao
Your solution works GREAT for 'on change' .. and if I move around within the rows. When I create a new row the 'LockedDown' attribute is set to false and the drop down control needs to be activated with the array of values ( since 'LockedDown' is False ) and unfortunately the drop down list control is not active ... |
xBrowse editing | Hello,
is there a way for xBrowse to edit one column in an row and in another row editing from the same column is not allowed? There is no bWhen or so!?
Any ideas?
Also the picture z.B. "@E ##.#" from numeric data only in editing-mode is active. In normal mode this picture is not active. |
xBrowse editing | Change xbrowse.prg xbrwocol :nEditType data into data block type
Change
if oCol:nEditType>0
into if(VALTYPE(oCol:nEditType)=="B",EVAL(oCol:nEditType),VAL(cvaltochar(oCol:nEditType))) > 0
Then your prg ocol:nedittype:={||mycondition()}
Shuming Wang |
xBrowse editing | Günther,
Instead of modifying the class, you can use <oBrowse>:bChanged to change the edit style based on some conditions:
<!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=9576">http://fivetechsoft.com/forums/viewtopic.php?t=9576</a><!-- m --> |
xBrowse editing | Thanks, both ways are possible!
For the second problem I wrote is no solution?
[color=blue:1nalgghl]Also the picture z.B. "@E ##.#" from numeric data only in editing-mode is active. In normal mode this picture is not active.[/color:1nalgghl] |
xBrowse editing | Günther,
> the picture z.B. "@E ##.#"
Have you tried it using Transform() ? Does Transform() properly use it ? |
xBrowse editing | Can I use to show the numeric value in the xBrowse [color=blue:235tpuxh]transform(value,"picture")[/color:235tpuxh] and the returned value transfer with [color=blue:235tpuxh]val() [/color:235tpuxh] return to numeric?
Also I found, that the oBrw:bChange with keybord are ok, with the mouse it is evaluated when I change ... |
xBrowse editing | 1) The codeblock bChange is evaluated twice in the LButtonDown method. Lines 2202 to 2204 ( source 8.01 ) can be removed or commented out.
2) Also bChange is evaluated even if the mouse click does not result in change of row. It would be nice if bChange is evaluated only if the row has changed. This can be implemente... |
xBrowse editing | Günther,
We are actually out of our offices until next tuesday.
Please follow Nageswararao advise. We will review it as soon as we are back next tuesday. |
xBrowse editing | [quote="byte-one":1rxgm3q8]Hello,
is there a way for xBrowse to edit one column in an row and in another row editing from the same column is not allowed? There is no bWhen or so!?
Any ideas?
[/quote:1rxgm3q8]
I too feel the need for bWhen block. We may decide if the column is to be edited or not depending on the other ... |
xBrowse editing | Is tjhere a function to edit a record in vertical as th eold tedit of Super35 lib ? |
xBrowse editing | Silvio,
We implemented it in FiveMac using this code:
[code:19w2v6d7]
METHOD SetEdit() CLASS TWBrowse
::bLogicLen = { || RecCount() * ( FCount() + 1 ) }
::cAlias = "_EDIT"
::Refresh()
return nil
[/code:19w2v6d7]
[code:19w2v6d7]
... |
xBrowse editing bugs | Recent FWH changes fixed some problems when exiting a cell with the mouse instead of the keyboard (lFastEdit + lAutoSave).
So far, so good, but:
1) If you click on a buttonbar icon that do something with that data, the old value is still used
2) If you click on a get control inside the same window, the entered value I... |
xBrowse editing color | Dear Mr. Rao,
is it possible to color the columns when we use inline editing like shown in 2).
Thanks in advance
Otto
[img:1gjniflo]http://www.atzwanger-software.com/fw/color.jpg[/img:1gjniflo] |
xBrowse editing color | Dear Mr. Rao,
is it possible to change the font for the column which is edited.
Thanks in advance
Otto |
xBrowse editing color | You may use
oCol:bClrEdit and
oCol:oEditFont |
xBrowse editing color | Dear mr. Rao,
Thank you. This is working fine.
Is it also possible to set the color of the get field inside the column.
Thanks in advance
Otto |
xBrowse editing color | [quote:3cd8rahr]Is it also possible to set the color of the get field inside the column.[/quote:3cd8rahr]
That's what oCol:bClrEdit does.
Or did I not understand your requirement? |
xBrowse editing color | Dear Mr. Rao,
I mean the color of the get inside the column which is edited.
I attach a picture.
Best regards,
Otto
[img:w4h5qfkd]http://www.atzwanger-software.com/fw/color2.jpg[/img:w4h5qfkd] |
xBrowse editing color | Otto,
I'm looking for the same solution.
The columns with getfields are shown with a extra color
I still added 2 row-group-colors
like You are using :
[b:1x7ml046][color=#0000FF:1x7ml046]Handy[/color:1x7ml046][/b:1x7ml046] = Color1
[b:1x7ml046][color=#FF0000:1x7ml046]Festnetz[/color:1x7ml046][/b:1x7ml046] = Color2
[... |
xBrowse editing color | Initially the entire get text is selected. What is seen is the select color of Get.
Once the user starts typing ( or in Fast Edit, the get is invoked by typing a character ) it is the specified get color you see |
xBrowse editing color | Hello Uwe,
in my case if I change method edit and assign cPic := "@K" and comment
// ::oEditGet:SelectAll()
I get the behaviour I want.
Best regards,
Otto |
xBrowse effoe FW 2206 - Rao | Rao .. I have a recordset that I am looking to view the table xBrowse( oRsParks ) .. The Function Parameters are correct in in the correct order ... and I get this error :
[code=fw:kxulybtn]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Func _Parkslct<span style="color: #000000;">(</span> cMode, c... |
xBrowse effoe FW 2206 - Rao | This is due to a bug in FWH2206.
All previous versions and later versions work well.
[code=fw:1kkfdi0l]<div class="fw" id="{CB}" style="font-family: monospace;">XBROWSER oRecordSet <span style="color: #B900B9;">// or any OLE object</span></div>[/code:1kkfdi0l]
fails with a runtime error.
This is the fix:
Open fwh\sou... |
xBrowse effoe FW 2206 - Rao | Rao
Thanks ... appreciate your help . |
xBrowse en TExploreBar | Estimados;
Tengo un TExploreBar con 2 paneles. TExploreBar se despliega en la ventana izquierda de un Splitter
En el primero de los paneles se abre un xBrowse. El codigo es el siguiente:
[code=fw:20e0g92b]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #B900B9;">// Barra Tipo Outlook</s... |
xBrowse en dialog | Hola. Tengo un problema a la hora de generar un xbrowse dentro de un dialog. Solo quiero sacar un xbrowse con los datos de una dbf. Hasta ahora he usado listbox, pero quiero actualizar mi aplicación. Os paso el código que tengo hasta ahora:
[code=fw:26stj1m5]<div class="fw" id="{CB}" style="font-family: monospace;"><b... |
xBrowse en dialog | Usted está definiendo una ventana después de activar un diálogo. No se puede hacer esto.
DEFINE WINDOW INICIO_C TITLE "Gestión de Clientes" MDICHILD OF PRIN
...
ACTIVATE DIALOG INICIO_C center |
xBrowse en dialog | Hola James. Gracias. No lo veía. Sigo teniendo errores, pero los voy a migrar al foro de español, ya que me confundí al hacerlo en el de inglés. Gracias. |
xBrowse equivalente de TsBrowse:GOPOS() | Holas a todos...
Tengo un xBrowse de un Array, el array tiene 200 elementos, 2 columnas de 100 elementos cada una.
En el browse solo se ven 15 filas, las otras obviamente ocultas, tiene su correspondiente scroll.
En TSBROWSE yo ponia tsbr:gopos(21,1) y el tsbrowse me mostraba esa columna como la ultima VISIBLE, haci... |
xBrowse equivalente de TsBrowse:GOPOS() | <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25698">viewtopic.php?f=3&t=25698</a><!-- l --> |
xBrowse erratic Behavior on FWH908 and FWH909 | Hello all!
This is a normal behavior of xBrowse in FWH901
[img:29516ot2]http://i208.photobucket.com/albums/bb82/fraxzi/FWxHarbour/xbrowse1.jpg[/img:29516ot2]
The cursor doesn't move by itself and very stable..
Here with the same code using FWH908 and FWH909
[img:29516ot2]http://i208.photobuc... |
xBrowse erratic Behavior on FWH908 and FWH909 | I found to caused:
If table has no index.
Why is that? With FWH9.01 this was not a problem specially just using xBrowse( 'Alias' )...
Anybody with better explanation?
-Regards,
Frances |
xBrowse error ToExcel() | Hi again,
I'm noticing a recurrent runtime error at line 6811 on xbrowse.prg. Line 6811 is:
[code=fw:166py49l]<div class="fw" id="{CB}" style="font-family: monospace;"> oBook := oExcel:<span style="color: #000000;">WorkBooks</span>:<span style="color: #000000;">Add</span><span style="color: #000000;">(</span>... |
xBrowse error ToExcel() | Reinaldo,
[quote="reinaldocrespo":20r2cq3m][code=fw:20r2cq3m]<div class="fw" id="{CB}" style="font-family: monospace;"> oBook := oExcel:<span style="color: #000000;">WorkBooks</span>:<span style="color: #000000;">Add</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> </div>[... |
xBrowse error ToExcel() | Right, I agree. However, these errors are being logged to a table and that particular error did not have a previous error logged. Below is a paste of a similar error.log posted today. Please take a look at Parm #20, it contains the xbrowse contents being exported to Excel. The xbrowse line causing the runtime error ... |
xBrowse error ToExcel() | Reinaldo
From your error.log
18 Microsoft Excel, C:\Program Files\Microsoft Office\Office12\EXCEL.EXE
You are using Excel office 2012 ? Is it installed on the computer ?
I have had similar problems with office 2010 and evaluation versions that do not accept OLE, needed the complete version.
Hth
Richard |
xBrowse error ToExcel() | Hey Richard!
I don't know. You might be right. I don't see the error being logged all the time or from all workstations. I will find out.
Thank you for the idea.
Reinaldo. |
xBrowse error on ADS (SOLVED!) | Hi Fivewin experts,
I encountered an error using xBrowse with ADS and I am unable to find any solution, hope someone could help me solve the issue. I am having this error:
Error occurred at: 08/31/2018, 17:00:05
Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: LDRAG
Args:
[ ... |
xBrowse error on ADS (SOLVED!) | Please let us know the FWH version you are using.
Please also let us know if you are using a modified xbrowse.prg, because the line numbers in the error.log are not matching with the xbrowse source. |
xBrowse error on ADS (SOLVED!) | Hi Nages,
I am using FWH1706 + xHarbour 1.2.3 Intl. (Simplex) (Build 20161218) + bcc 7.0, I have not modified the original xbrowse.prg that comes with the package source. Here is the link to the xbrowse.prg source file:
[url:5oh4yszy]https://drive.google.com/open?id=1UQIY8msFCB4dspylDXrgCDbL-eggii6f[/url:... |
xBrowse error on ADS (SOLVED!) | Thanks.
I will check with 17.06 sources.
One more clarification please. Do you face this problem with all ADS tables and not with DBFCDX tables? Or only occasionally? |
xBrowse error on ADS (SOLVED!) | Hi Roderick,
Call me at the office. <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wi... |
xBrowse error on ADS (SOLVED!) | Hi Nages,
This error occurs only using ADS, I have tested the following code and they worked fine:
#include "FiveWin.Ch"
#include "XBrowse.Ch"
REQUEST DBFCDX
function Main()
use customer alias "cust"
xBrowse("cust")
return (nil)
Hi Frances,
I sent you an email on vichezzz.
Thanks,
ryugarai27 |
xBrowse error on ADS (SOLVED!) | Hi Nages,
The following code works perfectly on FWH901 (xHarbour build 1.1.0 Intl. (SimpLex) (Rev. 6195) + Borland C++ 5.5.1 (32 bit) ) which uses the Aces32_81.lib and rddads81.lib.
#include "ads.ch"
#include "fivewin.ch"
REQUEST ADS
static hAds, oConn, lOk
function main()
local cPath := "D:\projects\fwh1706\pos... |
xBrowse error on ADS (SOLVED!) | Hi Nages,
I have removed the ADSKEYNO error by adding the following EXTERN commands:
EXTERN ADSKeyNo
EXTERN ADSKeyCount
EXTERN ADSSetRelKeyPos
EXTERN ADSGetRelKeyPos
but still the error on xbrowse:ldrag persists.
Best regards,
ryugarai27 |
xBrowse error on ADS (SOLVED!) | Hi Rao,
Did you manage to check this error?
I have tested the following code on FWH9.01 and it is working fine, but when compiled on FWH1706 the error still persists:
#include "ads.ch"
#include "fivewin.ch"
REQUEST ADS
static hAds, oConn, lOk
function main()
local cPath := "D:\projects\fwh1706\pos6\LocalDB\POS4.... |
xBrowse error on ADS (SOLVED!) | Can you please send to my email your copies of
1. ace32.dll
2. adsloc32.dll
3. rddads.lib ( harbour if you are using harbour)
4. ace32.dll
and one free ADT (with adm if necessary) file ( not dictionary bound)
Please send me through <!-- m --><a class="postlink" href="https://wetransfer.com/">https://wetransfer.com/<... |
xBrowse error on ADS (SOLVED!) | I am unable to understand why are you getting the error.
I am able to browse ADT files with FWH 17.06. This is the test program I tried, which includes simple XBROWSER also.
[code=fw:rf0lwbi4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff... |
xBrowse error on ADS (SOLVED!) | Hi Rao,
Seems that my FWH 1706 version is not stable, I tried your example and still the error persists. If you could, please send me the link where I can download the stable version of FWH1706.
Many thanks,
ryugarai27 |
xBrowse error on ADS (SOLVED!) | Hi Rao,
Thanks so much for your help! It is working fine now.
Best regards,
ryugarai27 |
xBrowse error on version 18.05 | I just updated yesterday to Fivewin for Harbour 18.05 32 bits.
Using xBrowse I have this experience:
1. Borland 7.20 (or 5.82)+Fivewin 14.04 (the one I used until yesterday) no problem whatsoever
2. Borland 7.30 (or 7.20)+Fivewin 18.05 xBrowse closes one of the database (the main one) unexpectedly after the second call... |
xBrowse error on version 18.05 | We can not compile and build your sample at our end to figure out where is the problem.
Can you please build a simpler sample using "states.dbf" and "customer.dbf" in \fwh\samples folder without using resources.
We will attend to the issue on top priority.
At the same time, let us assure you that we are not facing any... |
xBrowse error on version 18.05 | Thanks
Maybe is the way I compile it using Borland 7.3. Correct me if I am wrong:
Since the resources come out in a weird way (check boxes and radio buttons specifically), I decide to continue compiling the resources using Borland 5.82 while the program is compiled using Embarcadero 7.30:
.PRG.OBJ:
$(HBDIR)\bin\harb... |
xBrowse error on version 18.05 | Well, what about your own example <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
[url=http://img4.imagetitan.com/img.php?image=18_example.jpg:305s0v0v][img:305s0v0v]http://img4.imagetitan.com/img4/small/18/18_example.jpg[/img:305s0v0v][/url:30... |
xBrowse error on version 18.05 | For me tutor07.prg is working without any errors.
Note: The situation displayed in the above screen-shot can happen when either (1) clientes.dbf is not found or (2) clientes.dbf is already in use by another program. |
xBrowse error on version 18.05 | [quote="ellano":4wshw1k9]Well, what about your own example <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
[/quote:4wshw1k9]
I tested sample tutor07.prg with VS2017 and Borland 7.0/7.2 and run OK, not problem |
xBrowse error on version 18.05 | Sorry, wrong image, should be this one:
[url=http://img4.imagetitan.com/img.php?image=18_error.png:3t53fcyw][img:3t53fcyw]http://img4.imagetitan.com/img4/small/18/18_error.png[/img:3t53fcyw][/url:3t53fcyw]
which goes with this code (taken and modified from your Samples XBGETBAR.PR... |
xBrowse error on version 18.05 | Do you mean to say that the original programs is working correctly but the program as modified by you is giving error? |
xBrowse error on version 18.05 | Inv1.prg (no modifications)
[url=http://img4.imagetitan.com/img.php?image=18_error1.png:22d2c5x1][img:22d2c5x1]http://img4.imagetitan.com/img4/small/18/18_error1.png[/img:22d2c5x1][/url:22d2c5x1] |
xBrowse error on version 18.05 | There is no problem with the original xbgetbar.prg.
But there is a problem with your modifications to the program.
This is your question.
[quote:sc65o0w5]
CLIENTS->(DBGOTO(numReg)) //requiered since I change location on register_Clients
// Why is Clients closed????
[/quote:sc65o0w5... |
xBrowse error on version 18.05 | Yes it is true. But I need to open a Database object since the purpose of the Register_Client procedure, although not shown, is precisely to: Register a Client!
When I do
[code=fw:2km4p4uw]<div class="fw" id="{CB}" style="font-family: monospace;"> <br /> <span style="color: #0000ff;">Select</span> Clients<br /> DA... |
xBrowse error on version 18.05 | [quote:bhbetvnu]Yes it is true. But I need to open a Database object since the purpose of the Register_Client procedure, although not shown, is precisely to: Register a Client!
[/quote:bhbetvnu]
It is ok. I understand the problem. The very purpose of asking your confirmation is to zero down upon the real cause.
I wan... |
xBrowse error on version 18.05 | I did the changes you suggested, but unfortunately that did not help:
The program presents no errors when DATABASE is omitted, errors come back as soon as the DATABASE statement is included.
You are on the right track. Should be something on the TDatabase class (or related class) that closes the DB connection. <!-- ... |
xBrowse error on version 18.05 | [quote="ellano":1bi145df]I did the changes you suggested, but unfortunately that did not help:
The program presents no errors when DATABASE is omitted, errors come back as soon as the DATABASE statement is included.
You are on the right track. Should be something on the TDatabase class (or related class) that closes ... |
xBrowse error on version 18.05 | Unfortunately no:
[url=http://img4.imagetitan.com/img.php?image=18_error1780.png:kn1d95df][img:kn1d95df]http://img4.imagetitan.com/img4/small/18/18_error1780.png[/img:kn1d95df][/url:kn1d95df]
Do you want me to send u anything else? (map, log, tds, obj, ppo) |
xBrowse error on version 18.05 | Are you linking the modified database.prg to your project? |
xBrowse error on version 18.05 | [url=http://img4.imagetitan.com/img.php?image=18_error1235.png:3spm7rex][img:3spm7rex]http://img4.imagetitan.com/img4/small/18/18_error1235.png[/img:3spm7rex][/url:3spm7rex] |
xBrowse error on version 18.05 | Good news. I finally make it work with your modification and a rmk file including both files (the modified test file and your modified database.prg) <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
What's the next step? I mean, is there going to be an update or is thi... |
xBrowse error with 16.01 and resource | I have a new problem with xBrowse in 16.01. In the first column I display one of three bitmaps depending on the value of two different fields. I have used this process for many years and it has worked fine. The resources are drawn from the linked in .res file and they are definitely included.
Now, in 16.01 it sudd... |
xBrowse error with 16.01 and resource | Our test here:
[code=fw:ymhkv5qp]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.Ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.