Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Focus on a form
Message
From
08/05/2002 11:27:21
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
 
 
To
08/05/2002 07:17:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00653825
Message ID:
00654033
Views:
27
Hi Marcia

OK, I have dropped the search text box on my form.

In my current example I have a file called REPFILE.DBF, the search field is REPORTNO and the index tag is REPORTNO.

I then have added three properties to my form cALIAS, cFIELD and cTAG. In the Init of my form I say:

this.calias = "REPFILE"
this.cfield = "REPORTNO"
this.ctag = "REPORTNO"

When I run the form, the debugger stops at the synchronize procedure of txtsearch and points to the line:
.value = Eval(.calias + '.' +.cfield)

It seems that this.calias and this.cfield have no values.

Do I have to set these values somewhere else other than Init? Or is there something else I am doing wrong?

Mike Smith
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform