Home    Forum    Search    FAQ    Register    Log in


Post new topic  Reply to topic 
Page 1 of 1
 
 
Como Detectar Si Se Hizo Click En Algun Boton De DataBrowser?
Author Message
Reply with quote   Download Post  
Post Como Detectar Si Se Hizo Click En Algun Boton De DataBrowser? 
 
buenas,

estoy usando un datasourve, databrowser etc

el problema se da con el campo id cuando haces click en el botón nuevo ahí en el datacontrol hay que poner el numero de registro mas alto+1

pues la tabla tiene autoincrement, como puedo detectar que se hizo clic en el botonnuevo del databrowser? para así en ese evento añadir automáticamente registro mas alto +1???

o como lo hacen ustedes?
 




===================
Software libre, programación libre, vida libre es la Public function Libertad()as Invendible
Proyectos: VisorRV1960,Taller2015,Tanteador
https://sourceforge.net/u/v3ctor-full/profile/
Blog: http://novatocodegambas.blogspot.com.uy/
 
Last edited by v3ctor on Wednesday, 27 January 2016, 17:30; edited 1 time in total 
v3ctor - View user's profileSend private messageVisit poster's website 
Back to topPage bottom
Reply with quote   Download Post  
Post Re: Como Detectar Si Se Hizo Click En Algun Boton De DataBrowser? 
 
Para detectar cuando un programa ha pasado por algún sitio lo más clásico es usar una variable privada de tipo boolean que estableces a cierto

public sub mibotondenuevo()

  pulsadoNuevo=true
  ....
  .....

end

Pero no utilizo los controles enlazados y no te puedo ayudar ahí.

Saludos.
 




===================
No podemos regresar
 
shordi - View user's profileSend private message 
Back to topPage bottom
Display posts from previous:    
 

Post new topic  Reply to topic  Page 1 of 1
 

Users browsing this topic: 0 Registered, 0 Hidden and 1 Guest
Registered Users: None


 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events



  

 

cron