jose69 Posted January 7, 2023 at 03:42 PM Report Share #629566 Posted January 7, 2023 at 03:42 PM Boa tarde, Gostaria de saber se é possível adicionar uma linha a um dossier, que já existe, sem ter que clicar o botão gravar por exemplo: SELECT BI go top APPEND BLANK Replace BI.ref with 'ref' Do boactref With 'BORAPIDO',.T.,'NAO','bi' Replace BI.cor with 'BLUE' Replace BI.tam with '45' Replace bi.qtt With 1 do u_bottdeb with 'bi',.F. com este código csg inserir a linha, mas é necessário gravar o dossiers com a intervenção do utilizador Obrigado Link to comment Share on other sites More sharing options...
pc.cesar Posted August 30, 2023 at 09:31 AM Report Share #631737 Posted August 30, 2023 at 09:31 AM pode ser com um insert select bo mbistamp = u_stamp("bi") msel = [insert into bi (bostamp, bistamp, ref, cor, tam,. stipo) values (']+bo.bostamp+['. ']+mbistamp+[', 'ref', 'cor', 'tam',. '4')] sbo.refrescar César Faria Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now