Hi Roger,
The sample does not compile w/o adding #INCLUDE "DCHTML.CH"
After the compile I get an "Invalid numeric value"
Operation <1>%<0>
called from (B)INIT: _DCINIT(28)
called from DC_BROWSEQUERY:APPLYQUERY(385)
BTW: Do they have law offices in taxis in the Big Apple now??
Terry
Search found 60 matches
- Mon Oct 24, 2011 9:24 pm
- Forum: eXpress++ Support
- Topic: New DC_BrowseQuery() class
- Replies: 2
- Views: 5741
- Tue Mar 22, 2011 6:10 am
- Forum: eXpress++ Support
- Topic: DC_Array2Excel
- Replies: 1
- Views: 5147
DC_Array2Excel
Roger, I was looking at DC_Array2Excel and noticed the following code is included twice. Is there a reason for this or should one of these be deleted? Terry // Force a reformat for the size of the first column IF lAutoFit FOR i := 1 TO Len(aData[nSheet,1]) oSheet:Columns(i):AutoFit() NEXT ENDIF // F...
- Tue Mar 22, 2011 5:44 am
- Forum: eXpress++ Support
- Topic: DC_WorkArea2Excel
- Replies: 12
- Views: 19330
Re: DC_WorkArea2Excel
Thanks everyone for all the feedback. Roger, I have added some extra code to DC_WorkArea2Excel. Please consider adding this to your next release. There are two new arguments for the function: 'cDateFormat' -- This can be 'US' = 03/16/2011 'USSHORT' = 3/16/2011 'EURO' = 16/03/2011 'EUROSHORT' = 16/3/...
- Sun Mar 20, 2011 8:18 am
- Forum: eXpress++ Support
- Topic: DC_WorkArea2Excel
- Replies: 12
- Views: 19330
Re: DC_WorkArea2Excel
Jimmy,
The fifth parameter of DC_WorkArea2Excel (aFields) is a single-dimension array
{"INDEX_NO",FINE","BANK_DATE"}
I have tried that and it makes no difference.
Terry
The fifth parameter of DC_WorkArea2Excel (aFields) is a single-dimension array
{"INDEX_NO",FINE","BANK_DATE"}
I have tried that and it makes no difference.
Terry
- Sat Mar 19, 2011 10:58 pm
- Forum: eXpress++ Support
- Topic: DC_WorkArea2Excel
- Replies: 12
- Views: 19330
Re: DC_WorkArea2Excel
No field array was used:
DC_WorkArea2Excel('c:\CB.XLS',NIL,.T.,.T.)
Trying to dump the complete .DBF
I also tried it with and without the lAutoFit option. (The documentation states that lAutoFit defaults to .T. however the function actually defaults to .F.)
Terry
DC_WorkArea2Excel('c:\CB.XLS',NIL,.T.,.T.)
Trying to dump the complete .DBF
I also tried it with and without the lAutoFit option. (The documentation states that lAutoFit defaults to .T. however the function actually defaults to .F.)
Terry
- Sat Mar 19, 2011 9:56 pm
- Forum: eXpress++ Support
- Topic: DC_WorkArea2Excel
- Replies: 12
- Views: 19330
DC_WorkArea2Excel
I have been trying to get a database to convert to an Excel work sheet using DC_WorkArea2Excel and have not been able to get Character fields to convert properly if they contain strings that look like numbers (ie. 109100004.98 in a dbf field formatted as C 12). Attached is a small dbf to try. Also t...
- Wed Mar 16, 2011 1:38 pm
- Forum: Xbase++ Support
- Topic: Alaska Font on xbpCrt
- Replies: 5
- Views: 14219
Re: Alaska Font on xbpCrt
Hi Rick, The "Alaska Crt" font is part of one of the Alaska DLLs, I think. Anyway the program worked fine on these machines for several years and then went bad after I sent a new .EXE file out. I tried going back to the old .EXE with no success. I think it may not have been the new .EXE, but some ot...
- Wed Mar 16, 2011 6:04 am
- Forum: Xbase++ Support
- Topic: Alaska Font on xbpCrt
- Replies: 5
- Views: 14219
Alaska Font on xbpCrt
I use one screen in my application that is an xbpCrt screen with the "Alaska Crt" font. I have had two customers recently that have had problems displaying that font. Both customers are running XP machines on networks with about 4 workstations. Only one workstation at each of the customers has the p...
- Tue Nov 23, 2010 1:52 pm
- Forum: eXpress++ Support
- Topic: Navigation difference Version 252 to 254
- Replies: 1
- Views: 5395
Re: Navigation difference Version 252 to 254
I have worked around this difference with the 'KEYBLOCK' option on the first GET. It only affected 4 places in my program so it was not too bad.
Terry
Code: Select all
KEYBLOCK {|a,b,o|IIF(a==xbeK_ENTER .AND. !empty(o:getdata()),;
DC_ReadGuiEvent(DCGUI_EXIT_OK, GetList),NIL)}
- Tue Nov 23, 2010 12:36 pm
- Forum: eXpress++ Support
- Topic: Resize problem with 'PICTURE' masks
- Replies: 1
- Views: 5163
Resize problem with 'PICTURE' masks
When resizing a dialog the gets defined with "PICTURE '@S10!'" do not size properly. Also, HiLites do not seem to redraw properly when resizing Any ideas on fixes? Terry #include "dcdialog.ch" #include "appevent.ch" PROCEDURE MAIN() LOCAL getList:={}, GetOptions, mLetter:=space(50), lpvPreview:=.F.,...