With the following code I get an error.
- Code: Select all Expand view
#include "fivewin.ch"
#include "ads.ch"
#include "xbrowse.ch"
Request DBFCDX
function main()
RddRegister( "ADS", 1 )
AdsSetServerType( ADS_LOCAL_SERVER )
RDDSetDefault( "ADT" )
XBROWSER "FLDS.ADT" FASTEDIT
DbUseArea( .T., "ADS" , "Customer", "cust" )
Browse()
DbCloseArea()
return nil
- Code: Select all Expand view
Application
===========
Path and name: C:\Pieter\sqlapp\testads.exe (32 bits)
Size: 2,772,480 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20150213)
FiveWin Version: FWHX 15.01
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 3 secs
Error occurred at: 06/17/15, 09:14:37
Error description: Error ADSCDX/6082 Open error: Customer
Stack Calls
===========
Called from: => DBUSEAREA( 0 )
Called from: testads.prg => MAIN( 15 )
System
======
CPU type: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz 2166 Mhz
Hardware memory: 3500 megs
Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %
Windows total applications running: 4
1 ,
2 , C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17810_none_a9edf0
3 DDE Server Window, C:\Windows\SYSTEM32\OLE32.DLL
4 Tussen taken schakelen, C:\Pieter\sqlapp\testads.exe
Variables in use
================
Procedure Type Value
==========================
DBUSEAREA
Param 1: L .T.
Param 2: C "ADS"
Param 3: C "Customer"
Param 4: C "cust"
Local 1: U
Local 2: U
MAIN
Linked RDDs
===========
ADS
ADT
ADSCDX
ADSNTX
DBF
DBFFPT
DBFBLOB
DBFCDX
DBFNTX
DataBases in use
================
Classes in use:
===============
1 ERROR
2 HASHENTRY
3 HBCLASS
4 HBOBJECT
5 TFONT
6 TWINDOW
7 TDIALOG
8 TBRUSH
9 TCONTROL
10 TXBROWSE
11 TXBRWCOLUMN
12 TBTNBMP
13 TSCROLLBAR
14 TRECT
15 TREG32
Memory Analysis
===============
229 Static variables
Dynamic memory consume:
Actual Value: 0 bytes
Highest Value: 0 bytes
I have installed Advantage database server.
Does somebody know what the problem is?
Pieter