Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message saying
Message
From
02/01/2002 14:32:27
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00599886
Message ID:
00599894
Views:
16
Nick,

Make sure that the ListBox either has the RowSource available or is set to "" (empty) when instantiated.

Renoir


>I have a form that contains a listbox and several textbox. When I run my program I keep getting an error saying:
>
>"field" phrase not found".
>
> I can't seem to find the error. Has anyone else run into this problem. It seem to choke right at the .refresh().
>
>
>with thisform
>requery('lv_loc')
>.hldcnt = reccount('lv_loc')
>do case
>	case .hldcnt > 0
>		.hide_all		
>		.refresh()
>
>
>hideall method looks like this
>
>with thisform
>	.txtkn.visible = .f.
>	.txtkn2.visible = .f.
>	.txtK_key.visible = .f.
>	.txt2K_key.visible = .f.
>	.lbl2.visible = .f.
>	.lbl3.visible = .f.
>	.txtkn.value = ''
>	.txtkn2.value = ''
>	.cmdedit.enabled = .f.
>	.cmdadd.enabled = .t.
>	.cmddel.enabled = .f.
>endwith
>
>
>
>thanks
>Nick Patel
Previous
Reply
Map
View

Click here to load this message in the networking platform