Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating Tables
Message
 
 
To
18/09/1999 13:14:05
Amy Withrow
Kornerkid Publications
Vanlue, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00266353
Message ID:
00266380
Views:
22
Hi Amy in your add routine you need to ensure that your table is selected.

SELECT tEmployees
APPEND BLANK

I think you can also do something like this

SELECT (thisform.dataenvironment.intialselectedalias)
APPEND BLANK

Whether you are using a dataenvironment or not this still needs to be done

P.S. Welcome to the Universal Thread.

>I have a form that presents a dropdown combo populated with queried information that was determined by a "dept" the employee selected in an earlier dropdown combo. The problem is that when the user selects "add," the form tries to add to the cursor rather than the table listed as the InitialSelectedAlias in the data environment. Do most people use the data environment to choose their tables or is it preferable to do it programatically? Any suggestions to solve this would be appreciated.
>
>Thanks,
>Amy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform