Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement