topic
stringlengths
1
63
text
stringlengths
1
577k
ADO RecordSet: Working locally without connecting to Server
Please see the post of Mr James Bott here <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26787&p=149225&hilit=persisting+data#p149225">viewtopic.php?f=3&t=26787&p=149225&hilit=persisting+data#p149225</a><!-- l --> Please also see MSDN Article about Persisting recordsets...
ADO RecordSet: Working locally without connecting to Server
Mr. Rao: Thanks a lot for your aportation, with the RecordSet's GetRows() method can you get the same result? Regards
ADO RecordSet: Working locally without connecting to Server
[quote="Armando":1zw7te9u]Mr. Rao: Thanks a lot for your aportation, with the RecordSet's GetRows() method can you get the same result? Regards[/quote:1zw7te9u] With GetRows() method you can read the recordset into an array. Agreed that you can do anything with the array locally. You can make modifications too. When...
ADO RecordSet: Working locally without connecting to Server
Let me add. Handling recordsets is more cumbersome than RDD and TData(Base)
ADO RecordSet: Working locally without connecting to Server
Mr. Rao: Thank for your comments. Regards
ADO RecordSet: Working locally without connecting to Server
Mr. Rao: Thanks for your works, I have a problem with MsgInfo( "Renaming " + cMdb + " as " + cBak + CRLF + ; "This is equivalent to not having connection with Server" ) ? FRename( cMdb, cBak ) frename returns -1 , this is because cMdb is still open Regards Maurizio
ADO RecordSet: Working locally without connecting to Server
[quote:2wj2y3g8]? FRename( cMdb, cBak ) frename returns -1 , this is because cMdb is still open [/quote:2wj2y3g8] If it returns -1, then renaming was not successful for whatever reason and one of such reasons could be that the mdb is not fully closed and released. If you execute the code I posted without any change...
ADO RecordSet: Working locally without connecting to Server
Mr. Rao with the FWH 13.07 revised build it works Thanks Maurizio
ADO RecordSets - Change SQL & Con at Runtime
At times it may be necessary to change the data of a Recordset with totally different data from the same or different tables and even from a different connection. One way is to read the new data into a new recordset and swap with the present recordset. It is much easier to read the different data into the same records...
ADO RecordSets - Change SQL & Con at Runtime
Very impressive <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Great capabilities for the new FWH 18.05 <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
ADO Recordset Methods
Hi guys Where I can find more information about ADO Recordset methods and properties like RecordCount(), fields etc Thanks
ADO Recordset Methods
On MSDN. EMG
ADO Recordset Methods
Thanks Enrico
ADO SQL VISIBILITY
Dear Sir(s) I have one table in sql database. if USER1 is browsing ARTICLE table and make some changes, how to to update/visible USER2 browse with the same change? Something like dbf. when we change records it update to every where. Regards Yunus.
ADO SQL VISIBILITY
You can use: CursorLocation := adUseServer CursorType := adOpenDynamic Pros: Selects without where clause much faster because you dont load immediately all records You'll see new adds deletes changes by others. You will always have the last info version. Cons: Navigation slower and server overload higher Many Dbs do...
ADO SQL VISIBILITY
Yunus, As far as I know, there is no way other than redoing the query. EMG
ADO SQL VISIBILITY
Dagia You can put a few well placed oRs:ReQuery() to re-fresh each workstation .. Generally you can place a :ReQuery() between screens which should keep each workstation in sync. .. again, SQL workstation visibility is an art-form and takes a fairly savvy programming imagination to keep them in sync. Rick Lipkin
ADO SQL VISIBILITY
Dear EMG, AHF & RICK LIPKIN Thanks for the valuable information. Thanks & Regards
ADO SQL VISIBILITY
[quote:297kcfmu]SQL workstation visibility is an art-form and takes a fairly savvy programming imagination to keep them in sync.[/quote:297kcfmu] Yes.
ADO SQL VISIBILITY
Severside queries (RecordSet with adUseServer) are *mostly* unidirectional and single pass, used mainly for fast single pass processing. Even this is not generally desirable and may result in wrong results because we lose the benefit of snap-shot query benefits. What we mostly use is RecordSet with adUseClient with ei...
ADO SQL VISIBILITY
Mr Rao, I think like in ADORDD the main problem is with additions because deletions or changes are always catched when we try to update. In ADORDD this is only a problem working without true locks because otherwise for ex. the order will be locked and no additions are possible during a WS edition or transaction like ...
ADO SQL VISIBILITY
Mr Antonio You wanted a quick method to know if other users added new records after current user opened the recordset. This discussion is confined to direct tables (not queries) opened using adUseClient. If the table has a primary-key and value of primary-key inserted is always greater than the previously inserted ke...
ADO SQL VISIBILITY
This is just for academic interest. From version 2005, MS SQLSERVER introduced a notification feature. Instead of client querying the server frequently for any changes in the status, a notification queue can be created and server notifies the clients with subscription whenever the change happens. Client retrieves the n...
ADO SQL VISIBILITY
Mr Rao, [quote:3ndie2mh]"select max(primarykey)" is always highly optimized and fast.[/quote:3ndie2mh] Adordd its working like that but I found at least with Mysql that its taking too long. If you try to use it for instances like a reccount() the browses begin to be very slow on a WAN even with tables of 50.000 recs....
ADO SQL VISIBILITY
Mr Antonio I agree that COUNT(* or any field) is the slowest on every RDMS. Except for small tables or otherwise optimize queries yielding small subsets, no body uses count(). Because primary-key is indexed max(primary-key) should be faster but not instantaneous like the query I suggested for sql-server. I go by your...
ADO SQL VISIBILITY
Mr Rao, [quote:330cfz4w]Better we do not interfere with triggers etc. Better to leave it to their database programmers.[/quote:330cfz4w] True I know we shouldnt do it. [code=fw:330cfz4w]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">SELECT</span> `AUTO_INCREMENT` <span style=...
ADO SQL VISIBILITY
No This is for MySql and I did not use it. For MsSql I advised another query. Let us first provide optimal performance for at least two popular servers. Let's keep exploring.
ADO SQL VISIBILITY
Mr Rao, It works ok I need further testing. How can I check the size of the schema table being queried ? Is it there only the max autoinc of each table ?
ADO SQL VISIBILITY
SELECT * FROM INFORMATION_SCHEMA.TABLES
ADO SQL VISIBILITY
Mr Antonio Please try this on different databases and see if this works. [code=fw:1csdtyl2]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> LastAutoIncID<span style="color: #000000;">&#40;</span> cTable, cPrimaryKey, oCn <span style="color: #000000;">&#41;</span>...
ADO SQL VISIBILITY
[quote="dagiayunus":r49dv00l]Dear Sir(s) I have one table in sql database. if USER1 is browsing ARTICLE table and make some changes, how to to update/visible USER2 browse with the same change? Something like dbf. when we change records it update to every where. Regards Yunus.[/quote:r49dv00l] When we browse a DBF...
ADO SQL slow after idle for a while
Hi, I'm using FWH ADO on MariaDB. Everything is working fine. Only one client have a problem on 2 PC's The program is a cash desk. If the products are scanned, everything is fast. If there is no client for 5 minutes, I take 8 seconds to show the product on the screen after scanning. Then everything is working fast a...
ADO SQL slow after idle for a while
Hi, Does anyone else have also this problem? I've been testing it and have change some settings in the database-server, but no result. The delay is not very long (0.8s), but the problem is that it is used in a shop with a barcodescanner, and then it is long if they have to wait <!-- s:( --><img src="{SMILIES_PATH}/ic...
ADO SQL slow after idle for a while
>>> otmp:open(SQLCommando,ADO_SQL_Connectionstring) >>> If you want speed, do not use connection strings, use connection object which is already open.
ADO SQL slow after idle for a while
Thank you, but how can I the run each time a different query to receive arecordsset?
ADO SQL slow after idle for a while
Marc Here is a Sql Server example on how to create a Global Connection (oCn ) .. Once you have made your connection .. just pass oCn instead of your connection string. There are other ways you can do the same thing using the FWAdo wrappers .. Rao can help you there. Rick Lipkin [code=fw:2megjoka]<div class="fw" id="...
ADO SQL slow after idle for a while
Rick, Thank you, I will try it.
ADO STORED PROCEDURES
If you are looking for a Sample on how to call a stored procedure on MS-SQL Server with parameters, here is one which may be useful to you [code=fw:pirhx5yi]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Trying to initiate the Stored Procedure</span><br />oCmd:=CreateObject<...
ADO STORED PROCEDURES
Buenas Tardes, alguien tendra un ejemplo de como llamar un store procedure y pasarles sus parametros MS-SQLSERVER a traves de ADO. Gracias.
ADO STORED PROCEDURES
Select Tu_procedimiento( parametros ) Saludos
ADO STORED PROCEDURES
Gracias, por responder lo hago de esa manera y me da el siguiente error: Class: 'ERROR' has no exported method [code=fw:120ud9zj]<div class="fw" id="{CB}" style="font-family: monospace;">cad_sql0:=<span style="color: #ff0000;">"SELECT pp_actualiza_stock(@co_art='"</span>+xc_art+<span style="color: #ff0000;">"',@co_al...
ADO STORED PROCEDURES
No entiendo como pasas los parámetros, aqui un ejemplo [code=fw:ij4mydjj]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp; &nbsp; cQuery &nbsp; &nbsp; := <span style="color: #ff0000;">"Select Neto( "</span> + cNroLegajo + <span style="color: #ff0000;">" ), Bruto( "</span> + cNroLega...
ADO STORED PROCEDURES
Y cual es el nombre del procedimiento ahi en tu ejemplo y cuales son los parametros? gracias
ADO STORED PROCEDURES
Neto y bruto son los procedimientos, y cNroLegajo es el parámetro. Sería bueno que que pusieras aqui como programaste el procedimiento Saludos
ADO STORED PROCEDURES
me sigue dando el mismo error cad_sql0:="SELECT pp_actualiza_stock('"+xc_art+"','"+xc_alma+"',"+str(xtot_art) cad_sql0:=cad_sql0+",'stock_act',"+str(xuct)+",'"+dtoc(xf_lot) cad_sql0:=cad_sql0+"',"+str(xst_art)+","+str(xuctom)+","+str(xtot_uni) cad_sql0:=cad_sql0+",'PROFIT','01',2,'R','NDD')" es un procedimie...
ADO STORED PROCEDURES
No trabajo mssql, imagino que el paso de parámetros debe estar normalizado para cualquier motor sql. Lo que no entiendo son las igualdades que ponés en el paso de parámetros po ej '@co_art='"+xc_art', en MySql el paso sería solamente el valor. Acá se me acabó la sapiencia. Saludos
ADO STORED PROCEDURES
Em sql server (microsoft) los store procedures se llaman con EXECUTE no con SELECT. por ejemplo, si necesito el SP me devuelva un recordset: [code=fw:1tc97y1v]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />oClientes := adoRecordSet<span style="color: #000000;">&#40;</span> oApp:<span style="col...
ADO Sort error
I using ors:sort := "field1,field2" but I get a error. DB Mysql CursorLocation = adUseClient. Does anyone knows what might be the cause and how to solve it?
ADO Sort error
Antonio I always put my sort values as parameters within parenthesis .. Try it this way: [code=fw:36lx90vt]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRs:<span style="color: #000000;">sort</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"[field1],[field2]"</span> <sp...
ADO Sort error
oRs:Sort := "field1,field2" is perfectly valid. But oRs:Sort works only on client side recordsets
ADO Sort error
Thanks!
ADO Sql Query limitations ??
To AllI have put together a simple sql query that joins two tables that I have cut and pasted out of MS SQL Studio.I know the query works .. every time I try to execute this query, my computer locks up .. any ideas here ??Rick Lipkin//----------cSQL := "SELECT proj.PROJECTEID, proj.PROJNAME, proj.DESCRIP, proj.START_DA...
ADO Sql Query limitations ??
To AllI have this problem FIXED .. as it turned out .. it had nothing directly to do with the query, but I was displaying cSQL on a title bar for a wait dialog box .. see code :It was the length of the variable cSQL that was being passed on the title line that 'hosed' everything up .. Until I placed a few msgbox's befo...
ADO Sql and Requery
With DBF files, i use a listbox in a dialog and display the records of the DBF . If the user want to search , he press the search button and write what he is looking for How to do the same with record set, how to requery ?? Thanks for your help . ======================= Xbase sample: select 0 use adresses set index...
ADO Sql and Requery
I use the sort option when I have multiple search possibliities .. consider this code : oRs:Sort := "fname" oRs:MoveFirst() oRs:Find("fname = '"+cFIND+"'" ) oLBX:ReFresh() SysReFresh() .. or oRs:Sort := "lname" oRs:MoveFirst() oRs:Find("lname = '"+cFIND+"'" ) oLBX:ReFresh() SysReFresh() .. Rick Lipkin
ADO Sql and Requery
Rick, Thanks for this answer but what have i to to if the date is not in the record set . I i have a table with 1 000 000 of records or more, i will not have : select * form table i will place a first scope : select * form table where NAME like "J*" and if the user want to llok for a name starting with R ... How to r...
ADO anchura campos numéricos
Buenas tardes, estoy comenzando a convertir mis bases de datos DBF a MYSQL. Una vez importadas las tablas en MYSQL me he encontrado con el problema de la anchura de los campos numéricos. Primero probé con la propiedad nPrecision de los objetos Fields, pero para los tipos Int, TinyInt y BigInt siempre devuelven un valo...
ADO anchura campos numéricos
gmart: Podrías crear los campos numérico como DECIMAL (5,2), de esa forma siempre sabrás tamaño y cantidad de decimales. Para tomar en cuenta, MySql siempre guarda el contenido como tipo carácter y el punto decimal se almacena, por tanto si defines el tamaño como (5,2) el valor máximo no será 999.99 sino 99.99. mis ...
ADO anchura campos numéricos
Muchas gracias Armando, en mi caso estoy usando la función FW_ADOImportFromDBF para importar los DBF en MYSQL y me he encontrado que las tablas creadas automáticamente tienen campos BigInt, TinyInt, Int y Decimal. Además no ha respetado el ancho que tenían originalmente en las DBF, intentaré investigar esa función para...
ADO anchura campos numéricos
With DBF, { "fieldname", "N", 6, 2 } uses 8 bytes including "-" sign and decimal. So it can store from -99.99 to 999.99. In MySql (and many other RDBS), DECIMAL( 5, 2 ) can store -999.99 to 999.99 Integers: MySQL INT takes only 4 bytes of storage space on the disk, but can contain values from -2147483648 to 21474836...
ADO anchura campos numéricos
Muchas gracias Rao, lo tendré en cuenta para el diseño de mis tablas cuando esté funcionando al 100 por 100 con ADO y MySQL. Un saludo.
ADO and Lock
Hello, I have an invoice file with a field InvoiceNumber, when the user add a record, the invoice number must be the last one + 1 In a SQL network environment, how can i be shure that dont have 2 times the same number . With DBF, when i want to do the same, i open an other file (LOCK.DBF) in EXCLUSIVE MODE and. if ne...
ADO and Lock
The easiest and the most reliable way is to create the invoiceno field as an autoincrement field. Note: Even for DBFs (using DBFCDX) this is the current practice to use autoincrement field. FW functions for ADO make it very easy to implement
ADO and Lock
I agree with you BUTthe custumer ask me to reset the counter to 1 each month. There is a prefix in front of the invoice number who is YYYYMM-invoice number ==> 201506-0001 ..... Thanks for your help .
ADO and Lock
Understand. I'll be back with a proposal in a while
ADO and Lock
Hi, You can define a field as unique and there is no chance to have 2 same values Best regards,
ADO and Lock
Jack To my knowledge there is not a ( good ) way to lock a Sql table ... and the Ole provider usually handles all the 'opportunistic' locks for you. With that said .. I have come up with a table called [InvoiceNumbers] and when a person wishes to create a new Invoice, I open the [InvoiceNumber] table, go to the botto...
ADO and Lock
Jack, I put a unique index on the invoice-number. Each time a customer add a new invoice I check for the last invoice number (Query with a desc order on invoice-number and a limit of 1). Then I add directly an empty record with that invoice number to the table. So, if someone else whant to add an invoice, he will get ...
ADO and Lock
Marc, Is it possible to give a sample of code . I read in the past that it is possible to use a SQL table in exclusive mode , how to ? Thanks.
ADO and Lock
An Auto-increment field is a double edge sword that I would avoid as invoice numbers. One of the potential problems that can arise with auto-increment fields is that if the table is later merged o copied to another table, append from another table, or transported somewhere else, or even if restructured -these numbers ...
ADO and Lock
I am back with this problem . Could someone share some sample of code of transaction with fivewin . Thanks
ADO and Lock
Hello I have DBF file AADD (aDbf, {"XXXXX", "L", 1 , 0 }) when I print the Invoice I open the file in in exclusive mode Dbusearea(.F. ,"DBFCDX" , m->E7 + ::cFile ,::oDbfMov:cAlias ,.T. ,.F.) I use the same method with SQL. Regards Maurizio <!-- w --><a class="postlink" href="http://www.nipeser...
ADO and Lock
[quote="nageswaragunupudi":3r9ydpse]The easiest and the most reliable way is to create the invoiceno field as an autoincrement field. Note: Even for DBFs (using DBFCDX) this is the current practice to use autoincrement field. FW functions for ADO make it very easy to implement[/quote:3r9ydpse] Hi Mr. Rao, How Can I d...
ADO and Lock
[code=fw:1w3d98sw]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Hi...<br /><br />In addition <span style="color: #0000ff;">to</span> controlling the row, I check <span style="color: #00C800;">if</span> the <span style="color: #00C800;">new</span> invoice number <span style="color: #0000ff;">exists</sp...
ADO and Lock
Instead of using an AutoIncrement field -for the reasons I have argued above on this thread- one way to solve this problem is to create a unique index based on the Invoice No field. When you try to insert a new record with an existing invoice number it will fail. After recovering, have the code continue to iterate u...
ADO and Lock
Horizon, [quote:182kpnr9]How Can I define autoincrement field in DBFCDX.[/quote:182kpnr9] Define it with the type "+" James
ADO and Lock
[quote="James Bott":2sy6tb1t]Horizon, [quote:2sy6tb1t]How Can I define autoincrement field in DBFCDX.[/quote:2sy6tb1t] Define it with the type "+" James[/quote:2sy6tb1t] Thank you James. Is it possible to set a number to autoincrement field as a starting number?
ADO and Lock
Hakan, [quote:2plxszwg]Is it possible to set a number to autoincrement field as a starting number?[/quote:2plxszwg] I don't believe there is a command for that. You could try adding one less records than the starting number you want, then doing a table TRUNCATE command (or ZAP if you are using the ADORDD) and see if ...
ADO and Lock
[quote="James Bott":3qap0zx0]Hakan, [quote:3qap0zx0]Is it possible to set a number to autoincrement field as a starting number?[/quote:3qap0zx0] I don't believe there is a command for that. You could try adding one less records than the starting number you want, then doing a table TRUNCATE command (or ZAP if you are ...
ADO and Lock
[code=fw:2o5jar0p]<div class="fw" id="{CB}" style="font-family: monospace;"><br />DbFieldInfo<span style="color: #000000;">&#40;</span> DBS_COUNTER, <span style="color: #000000;">1</span>, <span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//Set autoincremt t...
ADO and Lock
Biel, [quote:or83td8y]DbFieldInfo( DBS_COUNTER, 1, 10) //Set autoincremt to 10[/quote:or83td8y] I am guessing that sets the next number to be 10? James
ADO and Lock
[quote="James Bott":2wwyvqk6] I am guessing that sets the next number to be 10? James[/quote:2wwyvqk6] James, that is, next number will be 10.
ADO and Lock
Hello everyone; As you see from my previous posts, I do not like auto-increment fields as unique invoice numbers and I have explained why. I've also explained how a unique index on the invoice number can easily and safely solve the problem. On this post I offer some SQL code (ADS compatible) that relies on a RowVe...
ADO and Lock
I have a similar table that I use to track and generate new ID numbers that I use with DBFs. Since we can use both SQL tables and DBFs in the same app, I am thinking I can continue to use the same DBF which allows locking and thus is a simple solution. I also have a database class that has auto-incrementing using the ...
ADO and Lock
James, With adordd with SET ADO FORCE LOCK ON no other user or other app (using clipper compatible locking) can alter the table lock or exclusive or record locked hold by you. With this set ON the FILE LOCK, RECORD LOCK, EXCLUSIVE USE are guaranteed.
ADO and Lock
Antonio F. Thanks for confirming that. I have been meaning to ask about it. So, it seems, that my original auto-incrementing system should still work with the ADORDD. I will do some testing to confirm it. Using the ADORDD is too easy, where's the challenge? <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";...
ADO and Lock
Interesting. I use a single file on the server that contains all unique counters ( ie. invoice numbers, client account numbers, etc ). When someone wants to create a new invoice, a very simple call grabs the last number used, increments it, saves it, and gives it to the client machine. This takes a fraction of a sec...
ADO and Lock
In a Sql concept,you will do : oRs:Open("select ID FROM TABLE1",oCon) wid:=oRs:Fields("ID"):Value wid:=wid+1 UPDATE TABLE1 SET ID=wid * How can you lock, how are you sure that this code is not execute at the same time from another computer using the same application . ======= In DBF concept , you can open the TABLE...
ADO and Lock
Just some ideas. I would prefer the 2nd one. Another alternative in MySql is SELECT ... FOR UPDATE this locks the records. [code=fw:2urumznq]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRs:<span style="color: #000000;">Open</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000...
ADO and MySql
Hi All I a trying to use MySQL and ADO - I have a connection to the database and can open a table but not sure what code to use to add records - according to a wiki page I found called ado-related stuff I can do the following oRs:AddNew() oRs:Fields('code'):Value := 'Test') oRs:Update() That code does not produce a...
ADO and MySql
Hello, Please, see TDataRow class explained in whatsnew.txt. Very good class.
ADO and MySql
Colin Nothing specifically wrong with your addnew() and Update() .. please check how you create your Recordset and I suggest using these parameters : [code=fw:3o04bzri]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRs := TOleAuto<span style="color: #000000;">&#40;</span><span style="color: #000000;"...
ADO and MySql
Thanks Rick - much appreciated. Colin
ADO and decimal numbers
hi I have this code [code=fw:2b7k45tt]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />@ <span style="color: #000000;">40</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">GET</span> o_get <span style="color: #0000ff;">VAR</span> m_get MEMO <span style="color: #0000ff;">...
ADO and decimal numbers
Ciao , try SET DECIMALS TO 4 Maurizio <!-- w --><a class="postlink" href="http://www.nipeservice.com">www.nipeservice.com</a><!-- w -->
ADO and decimal numbers
Hi ciao Maurizio SET DECIMAL TO is inside at the top of .prg but not work with ADO
ADO and decimal numbers
Please make this modification in your xbrowse.prg: Please locate the following lines in METHOD SetColFromADO(...) [code=fw:wj8iv9yq]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; <span style="color: #00C800;">CASE</span> ASCAN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&...
ADO and decimal numbers
hi Mr Rao thank you I try this in xbrowse.prg [code=fw:shxqfnam]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">CASE</span> ASCAN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">4</span>, <span style="color: #...
ADO and decimal numbers
I Mr Rao in xBrowse i changed oCol:nDataDec in SetColFromADO METHOD [code=fw:1jz3udsy]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">if</span> nDec != <span style="color: #00C800;">nil</span><br />*      oCol:<span style="color: #000000;">nDataDec</span>  := <span style="c...
ADO and decimal numbers
[quote="damianodec":293nk86n]I Mr Rao in xBrowse i changed oCol:nDataDec in SetColFromADO METHOD [code=fw:293nk86n]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">if</span> nDec != <span style="color: #00C800;">nil</span><br />*      oCol:<span style="color: #000000;">nData...