Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12410
| From | "Jamal" <nospam@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Passing Variables |
| Date | 2019-04-08 11:23 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <q8fp13$313$1@gioia.aioe.org> (permalink) |
| References | <9fe69513-5e9b-4d87-8f17-ab1329f5fbdc@googlegroups.com> |
Simple advice! Use the VO debugger, place a break point and step through
code and watch the variables, etc.
Jamal
"Jeff Rollo" wrote in message
news:9fe69513-5e9b-4d87-8f17-ab1329f5fbdc@googlegroups.com...
Hi Again... :)
What am I missing? This code
//Job Number Search
ELSEIF Len(AllTrim(self:oDCSingleLineEdit1:CurrentText)) > 0
nOption := 5
oServer := DETAILS{}
oWin := JobNoRep{}
oWin:GoTop()
oWin:server:SetOrder("JobNumber", "DETAILS")
oWin:Seek(self:oDCSingleLineEdit1:CurrentText)
oWin := JobNoRep{,, (oWin:server), oWin:JOBNUMBER}
cName := oWin:FIELDGET(#CLNAME)
cTempServer := CLIENT{}
cCode := oWin:FIELDGET(#CLCODE)
cTempServer:Seek(cCode)
cName := cTempServer:FIELDGET(#CLNAME)
cCaption := AllTrim(cCode) + " - " + AllTrim(cName)
cTempServer:Close()
oWin:ClientName := cCaption
self:Owner:Owner:Owner:EndWindow()
oWin:Show(SHOWCENTERED)
self:EndDialog()
Produces a value of NIL00012 where "00012" could be any 5 digit Job number
found in the database.
When I put a ?? uExtra to see that the variable is being passed correctly in
the postinit of the JobNoRep form, it returns the NIL before the Job Number,
and after several hours and attemots, I cannot for the life of me work out
why. Any ideas please?
Thanks very much
Jeff
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
Passing Variables Jeff Rollo <jrollo64@gmail.com> - 2019-03-29 21:11 -0700
Re: Passing Variables Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2019-03-31 11:08 +0200
Re: Passing Variables Jeff Rollo <jrollo64@gmail.com> - 2019-03-31 03:05 -0700
Re: Passing Variables Jeff Rollo <jrollo64@gmail.com> - 2019-03-31 03:10 -0700
Re: Passing Variables Johan Nel <johan.nel@xsinet.co.za> - 2019-03-31 12:20 +0200
Re: Passing Variables Jeff Rollo <jrollo64@gmail.com> - 2019-03-31 05:22 -0700
Re: Passing Variables Johan Nel <johan.nel@xsinet.co.za> - 2019-03-31 15:38 +0200
Re: Passing Variables rolandgell.rg@gmail.com - 2019-04-08 03:55 -0700
Re: Passing Variables Jeff Rollo <jrollo64@gmail.com> - 2019-04-08 04:10 -0700
Re: Passing Variables Jeff Rollo <jrollo64@gmail.com> - 2019-04-08 04:13 -0700
Re: Passing Variables Chris Pyrgas <"chris (at)"@xsharp.eu> - 2019-04-08 14:28 +0300
Re: Passing Variables "Jamal" <nospam@example.com> - 2019-04-08 11:23 -0400
csiph-web