Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3986
| From | "John S." <jsommer_notthis_@alltel.net> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| References | (1 earlier) <535e81de-8432-4b69-b810-39e58c512556@googlegroups.com> <e9f0f$5032abeb$6215bed0$27881@ALLTEL.NET> <7tAYr.731$tH2.266@viwinnwfe01.internal.bigpond.com> <d724b$5032dcb4$6215bed0$13040@ALLTEL.NET> <a9gn46F22vU1@mid.individual.net> |
| Subject | Re: SP1 to SP4 CDX Tag Files |
| Date | 2012-08-22 17:44 -0400 |
| Message-ID | <be352$5035521d$6215bed0$31993@ALLTEL.NET> (permalink) |
| Organization | UseNetServer.com |
Hi Wolfgang,
I too have used a data dictionary with the same code since VO 2.0.
Using what I could of your code I still can not get it to work. This code
works fine in SP1 but not in SP4. Could you confirm for me that this code
works for you or tell me why it is not working. Thanks for your help.
John
METHOD Start() CLASS App
local cbExpression as object
local cTagName,cFileName,cIndexExpr as string
local adbfstru as array
local oServer as DbServer
adbfstru:={}
AAdd(adbfstru,{"FIELDA1","C",10,0})
AAdd(adbfstru,{"FIELDA2","C",10,0})
AAdd(adbfstru,{"FIELDA3","C",10,0})
DBCREATE('\TEMP\TEST1.DBF',adbfstru,"DBFCDX",true,"TEST1")
TEST1->DBCLOSEAREA()
oServer := DbServer{'\TEMP\TEST1.DBF', DBEXCLUSIVE, FALSE,'DBFCDX' }
cFileName:="\TEMP\TEST1.CDX"
cTagName:="TAG1"
cIndexExpr:='FIELDA1+FIELDA2+FIELDA3'
cbExpression := &("{||" + cIndexExpr + "}")
if !oServer:CreateOrder( cTagName, cFileName, cIndexExpr,
cbExpression,false)
TextBox{nil,"System Message","Did not create "+cTagName}:SHOW()
endif
cTagName:="TAG2"
cIndexExpr:='FIELDA2+FIELDA1+FIELDA3'
cbExpression := &("{||" + cIndexExpr + "}")
IF !oServer:CreateOrder( cTagName, cFileName, cIndexExpr,
cbExpression,false)
TextBox{nil,"System Message","Did not create "+cTagName}:SHOW()
ENDIF
"Wolfgang Riedmann" <wriedmann@gmail.com> wrote in message
news:a9gn46F22vU1@mid.individual.net...
> Hi John,
>
>> Is anyone using SP4 with dbfcdx and multiple tags?
>
> yes, in all my apps, and without any problem. All orders are created in
> the same code since VO 2.0 (all informations are read from a dictionary
> DBF):
>
> cbExpression := &("{||" + cIndexExpr + "}")
> oServer:CreateOrder( cTagName, cFileName, cIndexExpr, cbExpression,
> false )
>
> Wolfgang
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
SP1 to SP4 CDX Tag Files "John S." <jsommer_notthis_@alltel.net> - 2012-08-16 13:23 -0400
Re: SP1 to SP4 CDX Tag Files "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-08-17 10:47 +1000
Re: SP1 to SP4 CDX Tag Files Sherlock <sherlock@sherlock.com.au> - 2012-08-18 07:28 -0700
Re: SP1 to SP4 CDX Tag Files "John S." <jsommer_notthis_@alltel.net> - 2012-08-20 17:30 -0400
Re: SP1 to SP4 CDX Tag Files "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-08-21 10:18 +1000
Re: SP1 to SP4 CDX Tag Files "John S." <jsommer_notthis_@alltel.net> - 2012-08-20 20:58 -0400
Re: SP1 to SP4 CDX Tag Files "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-08-21 11:15 +1000
Re: SP1 to SP4 CDX Tag Files "John S." <jsommer_notthis_@alltel.net> - 2012-08-20 21:30 -0400
Re: SP1 to SP4 CDX Tag Files "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-08-21 06:11 +0000
Re: SP1 to SP4 CDX Tag Files "John S." <jsommer_notthis_@alltel.net> - 2012-08-22 17:44 -0400
Re: SP1 to SP4 CDX Tag Files "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-08-23 06:37 +0000
Re: SP1 to SP4 CDX Tag Files "John S." <jsommer_notthis_@alltel.net> - 2012-08-23 07:46 -0400
Re: SP1 to SP4 CDX Tag Files "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-08-24 01:01 +1000
Re: SP1 to SP4 CDX Tag Files "John S." <jsommer_notthis_@alltel.net> - 2012-08-23 11:28 -0400
Re: SP1 to SP4 CDX Tag Files "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-08-24 02:18 +1000
Re: SP1 to SP4 CDX Tag Files Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2012-08-21 09:24 +0200
csiph-web