Jump to content
danisantos1

[Resolvido] PHC - inactivar cliente

Recommended Posts

danisantos1

Bom dia,

Criei um botão na página "Clientes" que permite Inactivar o cliente selecionado:

dim stamp_ as string = mpage.request.querystring("stamp")
dim stamp2 as string = XCFOX.U_SDECRYPT(stamp_)

dim str_inact as string = "update cl set inactivo ='1' WHERE cl.clstamp='"+stamp2+"'"
cdata.updatedata(str_inact)

dim str_link as string = "../neg/clform.aspx"
Mpage.response.redirect(str_link)

gostaria de saber como posso fazer o cliente em questão desaparecer da pesquisa assim que é inactivado,pois este aparece na barra lateral de pesquisa, apenas indica que está inactivado ao clicar no mesmo.

obrigado desde já

Nuno Santos

Share this post


Link to post
Share on other sites
danisantos1

Resolvi criando uma nova página com a análise de todos os clientes e aí ja consegui efectuar o pretendido.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.